maxNumCompThreads Replacement

Returns the number of available CPU cores

Vous suivez désormais cette soumission

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.

Citation pour cette source

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

Catégories

En savoir plus sur Instrument Connection and Communication dans Help Center et MATLAB Answers

Informations générales

Compatibilité avec les versions de MATLAB

  • Compatible avec toutes les versions

Plateformes compatibles

  • Windows
  • macOS
  • Linux
Version Publié le Notes de version Action
1.1.0.0

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

1.0.0.0