Borrar filtros
Borrar filtros

Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

parallel computing parfor error?

1 visualización (últimos 30 días)
zhao
zhao el 24 de Oct. de 2013
Cerrada: MATLAB Answer Bot el 20 de Ag. de 2021
Hi guys, I want to use parallel computing. However, I could get rid of the common error although I did some reading about variables constraints. Could someone tell me the reason? Thanks.
parfor nb=1:s b(:,nb)=rand(c,1); exist=find(b(:,nb)); num=length(exist(:)); for m=1:L r=rand(num); for i=1:num bnow(exist(i),:,m,nb)=w(exist(i),:,m,nb).^2; Error: The variable b in a parfor cannot be classified. If I use parfor for loop m, then I will also get a similar error. Error: The variable bnow in a parfor cannot be classified.

Respuestas (0)

La pregunta está cerrada.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by