From: ken williams on
Hello!

I am running the Windows version of Matlab 2010a on a Quad-core PC. When I tried to run my simulink model, I got the message:

MATLAB is exiting because of fatal error
Error ==> parallel_function at 598
The session that parfor is using has shut down

Error ==> batch_script at 163
parfor(i = 1:numSimCmdArgStructs)

??? The client lost connection to lab 4.
This might be due to network problems, or the interactive matlabpool job might have errored.
This is causing: java.io.IOException: An existing connection was forcibly closed by the remote host.

Does anybody have the solution to this? I tried:
matlabpool open x, where x is a value between 1 to 4. The problem remains.

Thanks in advance.

Ken