FUNCTION REFERENCE

maxNumCompThreads

Number of computational threads (deprecated).

Number of computational threads (deprecated).

Syntax

n = maxNumCompThreads; old = maxNumCompThreads(n); old = maxNumCompThreads('automatic')

Every call warns that the function will be removed. The query returns the stored setting, by default the number of processors.

Example

n = maxNumCompThreads;   % number of threads, with a deprecation warning

Differences from MATLAB: The setting is only stored; it does not change how many workers MatRust uses.

These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.