Centro de ayuda de MATLAB
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.
Seleccione un país/idioma
Seleccione un país/idioma para obtener contenido traducido, si está disponible, y ver eventos y ofertas de productos y servicios locales. Según su ubicación geográfica, recomendamos que seleccione: .
También puede seleccionar uno de estos países/idiomas:
Cómo obtener el mejor rendimiento
Seleccione China (en idioma chino o inglés) para obtener el mejor rendimiento. Los sitios web de otros países no están optimizados para ser accedidos desde su ubicación geográfica.
América
Europa
Asia-Pacífico
Comuníquese con su oficina local