I'm having problem with the following snippet of code:
parfor i = 1:196072 z = x(i,:); z1 = filter(Hd, z); fprintf(fid, '%20.6f', z1); fprintf(fid, '\n');endfclose(fid);
As soon as I run the code snippet, it says: Not Enough Input Arguments.
However, the code works fine using normal for loop. I tried shutting down and restarting Parpool but no effect. I also tried restarting MATLAB, no effect. I tried deleting local_cluster_jobs folder in C:/Users/AppData/Roaming/MATLAB but no effect.
Best Answer