The session that parfor is using has shut down. Error in Main_InputNV (line 54) parfor j = 1:m2 Caused by: Error using distcomp.remoteparfor/getCompleteIntervals (line 22) The session that parfor is using has shut down. The client lost connection to lab 7. This might be due to network problems, or t he interactive matlabpool job might have errored.