What determines MaxAllowedNumWorkers?
问题 I want to matlabpool open 24 . As the default value of NumWorkers in my machine is 12, I run: myCluster = parcluster('local'); myCluster.NumWorkers = 12; % 'Modified' property now TRUE saveProfile(myCluster); % 'local' profile now updated, % 'Modified' property now FALSE I get the error: Error using parallel.cluster.Local/hSetProperty (line 258) NumWorkers must be an integer from 1 to 12. I comment out the bound check at parallel.cluster.Local/hSetProperty (line 258): case 'NumWorkers' % if