Documentation Center

  • Trial Software
  • Product Updates

parallel.Worker

Access worker that ran task

Constructors

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.Task object.

Container Hierarchy

Parent

parallel.cluster.MJS

Children

none

Description

A parallel.Worker object provides access to the MATLAB worker session that executed a task as part of a job.

Types

Worker TypeDescription
parallel.cluster.MJSWorkerMATLAB worker on MJS cluster
parallel.cluster.CJSWorkerMATLAB worker on CJS cluster

Methods

There are no methods for a parallel.Worker object other than generic methods for any objects in the workspace, such as delete, etc.

Properties

MJS Worker

The following table describes the properties of an MJS worker.

PropertyDescription
AllHostAddressesIP addresses of worker host
NameName of worker, set when worker session started
ParentMJS cluster to which this worker belongs

CJS Worker

The following table describes the properties of an CJS worker.

PropertyDescription
ComputerTypeType of computer on which worker ran; the value of the MATLAB function computer executed on the worker
HostHost name where worker executed task
ProcessIdProcess identifier for worker

Help

To get further help on either type of parallel.Worker object, including a list of links to help for its properties, type:

help parallel.cluster.MJSWorker
help parallel.cluster.CJSWorker
Was this topic helpful?