Shutting down some CPUs
Show older comments
Hi
I am running a MATLAB code in a 48 CPU server. I want to run only 8 CPUs. How can I set the number of used CPUs?
Thanks
1 Comment
Jan
on 15 Apr 2021
On which operating system?
Answers (1)
Raymond Norris
on 15 Apr 2021
Try
maxNumCompThreads(8);
Categories
Find more on MATLAB Parallel Server in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!