title: How to set the max number of workers in parpool/matlabpool from console?
body: <p>I know how to change the maximum number of workers using the Parallel preferences window in Matlab, but I cannot find any documentation about how to make changes on the preferences from console/code, and specifically about how to change the maximum number of workers I can use in a forloop. Any help will be greatly appreciated.  </p>