The parfor
function computes a variable in a loop body, but that variable is apparently
unused after the loop completes. For example, a call to save
or eval
might use the
variable in such a way that Code Analyzer cannot detect.
If the variable is unnecessary, do not compute it. If it is necessary, use it and suppress the warning message as described in Adjust Code Analyzer Message Indicators and Messages.