maxNumCompThreads Replacement
Version 1.1.0.0 (1.75 KB) by
Dirk-Jan Kroon
Returns the number of available CPU cores
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.
Cite As
Dirk-Jan Kroon (2024). maxNumCompThreads Replacement (https://www.mathworks.com/matlabcentral/fileexchange/27856-maxnumcompthreads-replacement), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2010a
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
Find more on Instrument Connection and Communication in Help Center and MATLAB Answers
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.