num-workers

Maximum number of workers allowed to process work simultaneously

Syntax

--num-workers count

Description

num-workers defines the number of concurrent MATLAB® execution requests that can be processed simultaneously. It should correspond to the number of hardware threads available on the local host.

If you specify a single value for the mcr-root property, this setting determines the fixed size of the worker pool.

If you specify more than one value for the mcr-root, this setting specifies a maximum limit on the size of each subpool specific to MATLAB Runtime. There can be more than specified number of worker processes at a time, but at a maximum only the specified number of workers are allowed to be processing a request.

Parameters

count

Number of workers available evaluate functions.

This value must be one or greater.

The maximum value is determined by the number of license keys available for MATLAB Production Server™.

Examples

Allow 10 workers to process requests at a time.

--num-workers 10