I'm trying to use batch to simply run 5 parallel instances of a script. As a test I tried this:
for ii = 1:5
jj{ii} = batch('magic(5000)');
end
wait(jj{5});
This appears to work, however I get a big nasty warning at each of the 5 times through. It's on a non-networked machine, but the headline is:
"Warning: Objects of class 'parallel.job.CJSIndependentJob' cannot be saved to MAT files."
This error is actually repeated 4 times per loop iteration.
Any ideas what the problem is here? I'm not intending to save anything to disk.