Download MATLAB PARALLEL COMPUTING TOOLBOX - S User`s guide

Transcript
Comparing for-Loops and parfor-Loops
parfor-loop requires that each iteration be independent of the other iterations, and that
all code that follows the parfor-loop not depend on the loop iteration sequence.
Related Examples
•
“Introduction to parfor” on page 2-2
•
“Create a parfor-Loop” on page 2-4
More About
•
“Reductions: Cumulative Values Updated by Each Iteration” on page 2-8
•
“Classification of Variables in parfor-Loops” on page 2-23
2-7