필터 지우기
필터 지우기

Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

parallel computing parfor error?

조회 수: 1 (최근 30일)
zhao
zhao 2013년 10월 24일
마감: MATLAB Answer Bot 2021년 8월 20일
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.

답변 (0개)

이 질문은 마감되었습니다.

Community Treasure Hunt

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

Start Hunting!

Translated by