User`s guide

2 Parallel for-Loops (parfor)
2-12
Inputs and Outputs in parfor-Loops
In this section...
“Functions with Interactive Inputs” on page 2-12
“Displaying Output” on page 2-12
Functions with Interactive Inputs
If you use a function that is not strictly computational in nature (e.g., input, keyboard)
in a parfor-loop or in any function called by a parfor-loop, the behavior of that
function occurs on the worker. The behavior might include hanging the worker process or
having no visible effect at all.
Displaying Output
When running a parfor-loop on a parallel pool, all command-line output from
the workers displays in the client Command Window, except output from variable
assignments. Because the workers are MATLAB sessions without displays, any graphical
output (for example, figure windows from plot,) from the pool does not display at all.
More About
“parfor Limitations” on page 2-11