Access worker that ran task
getCurrentWorker in the workspace of the MATLAB worker.
In the client workspace, a
parallel.Worker object is available from the
Worker property of a
parallel.Worker object provides access to the MATLAB worker session that
executed a task as part of a job.
|MATLAB® worker on MATLAB Job Scheduler cluster|
|MATLAB worker on CJS cluster|
There are no methods for a
parallel.Worker object other than generic methods
for any objects in the workspace, such as
MATLAB Job Scheduler Worker
The following table describes the properties of a MATLAB Job Scheduler worker.
|IP addresses of worker host|
|Name of worker, set when worker session started|
|MATLAB Job Scheduler cluster to which this worker belongs|
The following table describes the properties of an CJS worker.
|Type of computer on which the worker ran; the value of the MATLAB function |
|Host name where the worker executed the task|
|Process identifier for the worker|
To get further help on the types of
parallel.Worker objects, including a list
of links to help for its properties, type:
help parallel.cluster.MJSWorker help parallel.cluster.CJSWorker
Introduced in R2012a