This code
parfor ii = 1:5 surf(rand(500)) saveas(gcf, ['test_' num2str(ii)], 'eps');end
causes me the error
>> parfortestWarning: A worker aborted during execution of the parforloop. The parfor loop will now run again on the remainingworkers. > In parallel_function at 589 In parfortest at 1 Error using parallel_function (line 597)All workers aborted during execution of the parfor loop.Error in parfortest (line 1)parfor ii = 1:5The client lost connection to lab 2. This might be due tonetwork problems, or the interactive communicating jobmight have errored.
The error occurs only for surfaces above a certain dimension (e.g. surf(rand(5)) is fine). Other 3D-plot as trisurf or plot3 are affected as well while 2D-plots like plot or hist seem to be no problem.
Running this code with R2013b on Mac OS 10.9.3 on a Intel Core 2 Duo
Best Answer