User`s guide

1 Getting Started
1-10
parfor
batch
MATLAB
®
workers
MATLAB
®
client
5
To view the results:
wait(job)
load(job,'A')
plot(A)
The results look the same as before, however, there are two important differences in
execution:
The work of defining the parfor-loop and accumulating its results are offloaded
to another MATLAB session by batch.
The loop iterations are distributed from one MATLAB worker to another set of
workers running simultaneously ('Pool' and parfor), so the loop might run
faster than having only one worker execute it.
6
When the job is complete, permanently delete its data and remove its reference from
the workspace:
delete(job)
clear job