This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

Task Control and Worker Communication

Control task code execution and communication among workers during job and spmd block execution


addAttachedFiles Attach files or folders to parallel pool
labindex Index of this worker
numlabs Total number of workers operating in parallel on current job
gcat Global concatenation
gop Global operation across all workers
gplus Global addition
pload Load file into parallel session
psave Save data from communicating job session
labBarrier Block execution until all workers reach this call
labBroadcast Send data to all workers or receive data sent to all workers
labProbe Test to see if messages are ready to be received from other worker
labReceive Receive data from another worker
labSend Send data to another worker
labSendReceive Simultaneously send data to and receive data from another worker
getCurrentJob Job object whose task is currently being evaluated
getCurrentCluster Cluster object that submitted current task
getCurrentTask Task object currently being evaluated in this worker session
getCurrentWorker Worker object currently running this session
getAttachedFilesFolder Folder into which AttachedFiles are written
updateAttachedFiles Update attached files or folders on parallel pool


parallel.Task Access task properties and behaviors
parallel.Worker Access worker that ran task
Was this topic helpful?