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 CenterFile Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by