parfor xIndex=1:2:c
for yIndex=1:2:c x = xvec(xIndex); y = yvec(yIndex); M(xIndex, yIndex) = EscapeVelocity(-0.123+0.745*1i, x+y*1i, m); endend
MatLab says "The variable M in a parfor cannot be classified"
I would appreciate any explanation of why this occurs and how to correct it.
Best Answer