getCurrentJobmanager - Job manager object that scheduled current task

Syntax

jm = getCurrentJobmanager

Arguments

jm

The job manager object that scheduled the task currently being evaluated by the worker session.

Description

jm = getCurrentJobmanager returns the job manager object that has sent the task currently being evaluated by the worker session. jm is the Parent of the task's parent job.

Remarks

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

If your tasks are scheduled by a third-party scheduler instead of a job manager, getCurrentJobmanager returns a distcomp.taskrunner object.

See Also

getCurrentJob, getCurrentTask, getCurrentWorker, getFileDependencyDir

  


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