Matlab parallel processing failure

1 view (last 30 days)
Hi,
I am running matlab 2019a on Win10, i am trying to start parallel processing toolbox and i get the following message
NaN/Inf breakpoint hit for CJSCluster.m on line 622.
line622-- factoryNumWorkers = Inf;
I understand that the number of workers is not determined but i thought this should be automatically assigned when you change the parallel pool properties (number of worker is set to be 12 in my computer)
thanks in advance
Untitled.png

Accepted Answer

Steven Lord
Steven Lord on 3 Jul 2019
Quit debugging, turn off the Error Breakpoint "Pause on NaN or Inf", and rerun your code that starts the parallel pool.
Internally the functions that start the pool may use inf or nan as placeholders, but those should not be the final value for the size of the pool.

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!