I am new to use parfor, I have searched for the condition but I still can't understand what to do in order to make it work.
Mostrar comentarios más antiguos
I have a code like this...
Copt = cell(65,65);
parfor ws = 1:size(wsv,1)
t=wsv(ws,1);
u=wsv(ws,2);
...
...
Copt{t,u} = -2;
...
...
...
C = corr2(F1,F2);
if (C > Copt{t,u}) %C returns correlation coef.%
Copt{t,u} = C;
end
end
"Error: The variable in a parfor cannot be classified." displays on the command window when I run my code.
I don't know what to do, is there anyone can give me suggestion?
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Loops and Conditional Statements en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!