getCurrentTask
Get task object from a worker running a task
Syntax
Description
returns the t
= getCurrentTaskparallel.Task
object that the current worker is associated with. Use
getCurrentTask
to get information from the task during a computation,
such as the running duration.
If getCurrentTask
is evaluated on a worker, t
is a parallel.Task
object. Otherwise, t
is an empty
double.
Examples
Output Arguments
Version History
Introduced before R2006a
See Also
getAttachedFilesFolder
| getCurrentCluster
| getCurrentJob
| getCurrentWorker