Shutting down some CPUs

1 visualizzazione (ultimi 30 giorni)
M.R. Ebrahimi
M.R. Ebrahimi il 15 Apr 2021
Risposto: Raymond Norris il 15 Apr 2021
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

Risposte (1)

Raymond Norris
Raymond Norris il 15 Apr 2021
Try
maxNumCompThreads(8);

Categorie

Scopri di più su Startup and Shutdown in Help Center e File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by