Task Control and Worker Communication
Control task code execution and communication among
workers during job and spmd block execution
Functions
Key Functions
addAttachedFiles | Attach files or folders to parallel pool |
spmdIndex | Index of current worker in spmd block |
spmdSize | Number of workers running current spmd block |
spmdCat | Concatenate arrays on spmd workers |
spmdReduce | Reduce arrays on spmd workers |
spmdPlus | Add arrays from workers in spmd block |
spmdBarrier | Synchronize workers in spmd block |
spmdBroadcast | Send data to all workers in spmd block |
spmdProbe | Determine whether data is available to current worker in spmd
block |
spmdReceive | Receive data from another worker in spmd block |
spmdSend | Send data to another worker in spmd block |
spmdSendReceive | Simultaneously send and receive data on worker in spmd
block |
getCurrentJob | Get job object from a worker running a job |
getCurrentCluster | Get cluster object from a worker in a cluster |
getCurrentTask | Task object currently being evaluated in this worker session |
getCurrentWorker | Get worker object from current worker |
getAttachedFilesFolder | Identify folder on a worker where attached files are copied to |
updateAttachedFiles | Update attached files or folders on parallel pool |
Classes
Key Classes
parallel.Task | Access task properties and behaviors |
parallel.Worker | Access worker that ran task |
MATLAB-Befehl
Sie haben auf einen Link geklickt, der diesem MATLAB-Befehl entspricht:
Führen Sie den Befehl durch Eingabe in das MATLAB-Befehlsfenster aus. Webbrowser unterstützen keine MATLAB-Befehle.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)