maxNumCompThreads Replacement

Returns the number of available CPU cores

Sie verfolgen jetzt diese Einreichung

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.

Zitieren als

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

Allgemeine Informationen

Kompatibilität der MATLAB-Version

  • Kompatibel mit allen Versionen

Plattform-Kompatibilität

  • Windows
  • macOS
  • Linux
Version Veröffentlicht Versionshinweise Action
1.1.0.0

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

1.0.0.0