maxNumCompThreads Replacement

Returns the number of available CPU cores

Al momento, stai seguendo questo contributo

maxNumCompThreads returns the number of available CPU cores, works with Windows, Linux, OpenBSD and MAC-OS, using a c-coded mex-file.

N = maxNumCompThreads()

Replacement of the original "Matlab maxNumCompThreads" which will be removed in a future release.

Cita come

Dirk-Jan Kroon (2026). maxNumCompThreads Replacement (https://it.mathworks.com/matlabcentral/fileexchange/27856-maxnumcompthreads-replacement), MATLAB Central File Exchange. Recuperato .

Informazioni generali

Compatibilità della release di MATLAB

  • Compatibile con qualsiasi release

Compatibilità della piattaforma

  • Windows
  • macOS
  • Linux
Versione Pubblicato Note della release Action
1.1.0.0

Replaced "wrapping" code by more elegant version of James Tursa

1.0.0.0