Shutting down some CPUs

1 回表示 (過去 30 日間)
M.R. Ebrahimi
M.R. Ebrahimi 2021 年 4 月 15 日
回答済み: Raymond Norris 2021 年 4 月 15 日
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 件のコメント
Jan
Jan 2021 年 4 月 15 日
On which operating system?

サインインしてコメントする。

回答 (1 件)

Raymond Norris
Raymond Norris 2021 年 4 月 15 日
Try
maxNumCompThreads(8);

カテゴリ

Help Center および File ExchangeStartup and Shutdown についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by