Explanation

A value is assigned to the parfor loop index within the parfor loop body, which is not valid.

For an example, see Loop Variable under Classification of Variables in parfor-Loops.


Suggested Action

If this message is the result of a typographical error in your code, fix it. Otherwise, rewrite the application to avoid assigning a value to the parfor loop index within the loop body.