In earlier versions of MATLAB there was a restriction on the number of 'workers' – there was a maximum of 12, but this was lifted as of 2015a. As I am using 2017a, I should not be experiencing this. I have checked my 'numcores', here is the result.
>> feature('numcores')
MATLAB detected: 16 physical cores.
MATLAB detected: 16 logical cores.
MATLAB was assigned: 16 logical cores by the OS.
MATLAB is using: 16 logical cores.
but when I run my program, Matlab shows
Starting parallel pool (parpool) using the 'local' profile …
connected to 12 workers.
Best Answer