Task object currently being evaluated in this worker session
task = getCurrentTask
| The task object that the worker session is currently evaluating. |
task = getCurrentTask
returns
the Parallel.Task
object whose
function is currently being evaluated by the MATLAB worker session
on the cluster.
If the function is executed in a MATLAB® session that is not a worker, you get an empty result.
getAttachedFilesFolder
| getCurrentCluster
| getCurrentJob
| getCurrentWorker