getCurrentTask - Task object currently being evaluated in this worker session

Syntax

task = getCurrentTask

Arguments

task

The task object that the worker session is currently evaluating.

Description

task = getCurrentTask returns the task object that is currently being evaluated by the worker session.

Remarks

If the function is executed in a MATLAB session that is not a worker, you get an empty result.

See Also

getCurrentJob, getCurrentJobmanager, getCurrentWorker, getFileDependencyDir

  


 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS