Tutorial: Parallel and GPU Computing with MATLAB (7 of 9): spmd: Parallel Code beyond parfor

Tutorial on Parallel and GPU Computing with MATLAB (7 of 9)

You are now following this Submission

This submission contains code examples used in part 7 of the tutorial series on Parallel and GPU Computing with MATLAB. This part covers the following topics: executing code simultaneously on workers, accessing data on worker workspaces, and exchanging data between workers using Parallel Computing Toolbox™ and MATLAB Distributed Computing Server™.
Complete tutorial series is available here:
http://www.mathworks.com/products/parallel-computing/tutorials.html

Cite As

MathWorks Parallel Computing Toolbox Team (2026). Tutorial: Parallel and GPU Computing with MATLAB (7 of 9): spmd: Parallel Code beyond parfor (https://au.mathworks.com/matlabcentral/fileexchange/46708-tutorial-parallel-and-gpu-computing-with-matlab-7-of-9-spmd-parallel-code-beyond-parfor), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.3.0.1

Updated license

1.3.0.0

Updated comments

1.2.0.0

Updated code to match the latest tutorials

1.1.0.0

updated description