I'm trying to run the below code but get an error message:
The variable R in a parfor cannot be classified
Any way to solve it?
R=zeros(M,N,Us,Vs,'single');
parfor indM=1:M
for indN=1:N
for indv=1:Vs
temp=squeeze(X(indM,indN,:,indv));
if(sum(temp(:)~=0))
R(indM,indN,:,indv)= FractionalFFT_mid0(temp,a);
end
end
end
end
(indM,:,:,:)slice.