image thumbnail
from Getting Started with Parallel Computing using MATLAB by Arjav Chakravarti
This is an older version of the introductory tutorial for running parallel MATLAB applications

testSpmdBatch.m
%% Simple spmd script to illustrate batch submission

M=200;

spmd
   N = rand(M,M,codistributor);
   A = svd(rand);
end

A = max(A{1});
clear N

Contact us at files@mathworks.com