Task Control and Worker Communication
Control task code execution and communication among workers during job and spmd block execution
Functions
addAttachedFiles | Attach files or folders to parallel pool |
spmdIndex | Index of current worker in spmd block (Since R2022b) |
spmdSize | Number of workers running current spmd block (Since R2022b) |
spmdCat | Concatenate arrays on spmd workers (Since R2022b) |
spmdReduce | Reduce arrays on spmd workers (Since R2022b) |
spmdPlus | Add arrays from workers in spmd block (Since R2022b) |
spmdBarrier | Synchronize workers in spmd block (Since R2022b) |
spmdBroadcast | Send data to all workers in spmd block (Since R2022b) |
spmdProbe | Determine whether data is available to current worker in spmd
block (Since R2022b) |
spmdReceive | Receive data from another worker in spmd block (Since R2022b) |
spmdSend | Send data to another worker in spmd block (Since R2022b) |
spmdSendReceive | Simultaneously send and receive data on worker in spmd
block (Since R2022b) |
getCurrentJob | Get job object from a worker running a job |
getCurrentCluster | Get cluster object from a worker in a cluster |
getCurrentTask | Get task object from a worker running a task |
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
parallel.Task | Access task properties and behaviors |
parallel.Worker | Access parallel worker information |
MATLAB Command
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
- América Latina (Español)
- Canada (English)
- United States (English)
Europa
- 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)