MATLAB Help Center
Access parallel worker information
getCurrentWorker in the workspace of the MATLAB worker.
getCurrentWorker
In the client workspace, a parallel.Worker object is available from:
parallel.Worker
The Workers property of a parallel.Pool object. (since R2025a)
Workers
parallel.Pool
The Worker property of a parallel.Task object.
Worker
parallel.Task
Parent
parallel.cluster.MJS
parallel.cluster.CJS
Children
none
A parallel.Worker object provides access to the MATLAB worker session that executes a task as part of a job. The job can be an interactive parallel pool job or a batch job.
parallel.cluster.MJSWorker
parallel.cluster.CJSWorker
parallel.ThreadWorker
MATLAB thread worker (since R2025a)
There are no methods for a parallel.Worker object other than generic methods for any objects in the workspace, such as delete, etc.
delete
The following table describes the properties of a MATLAB Job Scheduler worker.
AllHostAddresses
ComputerType
computer
Name
The following table describes the properties of an CJS worker.
Host
ProcessId
The following table describes the properties of a thread 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 help parallel.ThreadWorker
parallel.Cluster, parallel.Job, parallel.Task
parallel.Cluster
parallel.Job
Introduced in R2012a
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
Seleziona un sito web
Seleziona un sito web per visualizzare contenuto tradotto dove disponibile e vedere eventi e offerte locali. In base alla tua area geografica, ti consigliamo di selezionare: .
Puoi anche selezionare un sito web dal seguente elenco:
Come ottenere le migliori prestazioni del sito
Per ottenere le migliori prestazioni del sito, seleziona il sito cinese (in cinese o in inglese). I siti MathWorks per gli altri paesi non sono ottimizzati per essere visitati dalla tua area geografica.
Americhe
Europa
Asia-Pacifico
Contatta l’ufficio locale