Matlab Nested parfor loop , variable cannot be classified -


I am trying to run the code below, but get an error message:

  R = zero (M, N, US, VS, 'Single') ); Parfor IND = 1: Indus = 1 for M: indv = 1 for N: VS temp = Squeeze (X (IND, IND,,, IND)); If (amount (temp (:) ~ = 0)) R (INDM, IND,,, Indive) = FractionalFFT_mid0 (temp, a); Old end versions of Matlab require that the consolidated sliced ​​index The last one (new version, for example, 2014b no longer requires requirements).  
  R = zero (n, our, vs, m, 'singles'); Parfor IND = 1: Indus = 1 for M: indv = 1 for N: VS temp = Squeeze (X (IND, IND,,, IND)); If (zodiac (temp (:) ~ = 0)) R (Indus,:, Ind, Indm) = FractionalFFT_mid0 (temp, a); End end end end% # r back in the way you originally wanted R = permute (R, [4 1 2 3]);  

Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -