MATLAB Hilfe-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.
Website auswählen
Wählen Sie eine Website aus, um übersetzte Inhalte (sofern verfügbar) sowie lokale Veranstaltungen und Angebote anzuzeigen. Auf der Grundlage Ihres Standorts empfehlen wir Ihnen die folgende Auswahl: .
Sie können auch eine Website aus der folgenden Liste auswählen:
So erhalten Sie die bestmögliche Leistung auf der Website
Wählen Sie für die bestmögliche Website-Leistung die Website für China (auf Chinesisch oder Englisch). Andere landesspezifische Websites von MathWorks sind für Besuche von Ihrem Standort aus nicht optimiert.
Amerika
Europa
Asien-Pazifik
Kontakt zu Ihrer lokalen Niederlassung