User`s guide

Programming Tips
3-15
run in parallel in another parallel pool, but runs serially in a single thread on the worker
running its containing function.
Nested parfor-Loops
The body of a parfor-loop cannot contain an spmd statement, and an spmd statement
cannot contain a parfor-loop.
Break and Return Statements
The body of an spmd statement cannot contain break or return statements.
Global and Persistent Variables
The body of an spmd statement cannot contain global or persistent variable
declarations.