User`s guide
2 Parallel for-Loops (parfor)
2-24
loop variable
sliced output variable
broadcast variable
temporary variable
reduction variable
sliced input variable
Notes about Required and Recommended Guidelines
The detailed topics linked from the table above, include guidelines and restrictions in
shaded boxes like the one shown below. Those labeled as Required result in an error
if your parfor code does not adhere to them. MATLAB software catches some of these
errors at the time it reads the code, and others when it executes the code. These are
referred to here as static and dynamic errors, respectively, and are labeled as Required
(static) or Required (dynamic). Guidelines that do not cause errors are labeled as
Recommended. You can use MATLAB Code Analyzer to help make parfor-loops
comply with the guidelines.
Required (static): Description of the guideline or restriction
More About
• “Variables and Transparency in parfor-Loops” on page 2-19
• “Reductions: Cumulative Values Updated by Each Iteration” on page 2-8
• “parfor Programming Considerations” on page 2-10