I have a two CPU multi core machine (16 cores each). I want to use a parfor loop on all 32 cores. But maxNumCompThreads gives me 16. In preferences I changed the maximum number of workers to 32, but when I open a parallel pool it still has only 16 workers. What do I need to configure to make use of all cores? If it matters my parfor loop is a perfect parallelisable task, i.e. no communication between iterations is needed.
Thanks for your help!