MATLAB: How to define how many workers the MATLAB Production Server (MPS) instance utilizes

MATLAB Production Server

I would like to define how many workers my MPS instance utilizes. How can I do this?

Best Answer

In order to define the number of workers your server utilizes you must modify the main_config file that is specific to that server. This file is located in the /config/ directory within the directory where your MPS server is located.
Line 236 will be set to this by default:
 
--num-workers 1
You can modify this line to utilize more than 1 worker in your server.