This message indicates that the for
loop will run correctly
as a parfor
loop if you make no other changes to the loop.
Consider converting the indicated for
loop to a parfor
loop. Whether or
not this is desirable depends on the size of the loop, how much data will be
transferred to MATLAB workers as a result, and how much work is done on each
iteration of the loop.
This message is off by default. You might enable it to look for instances that
are easily changed, and then disable it. Or, you might leave it enabled all the
time. If you leave this message enabled all the time, you should suppress it for
any for
loops that Code Analyzer indicates as candidates for
conversion to parfor
loops, but that you decided not to
convert. In such instances, MathWorks recommends you include a comment about why
you did not make the conversion.
For more information, see Adjust Code Analyzer Message Indicators and Messages.