MATLAB Only Using One CPU on Dual-CPU System

I have a dual 12-core, 24-thread system. MATLAB, for some reason, is only fully utilizing one of the CPUs. It spawns 24 threads, but all of them seem to run on a single CPU.
Ideally, I would expect either:
  • 12 threads per CPU (24 threads total), or
  • 24 threads per CPU (48 threads total, if MATLAB scales that way),
but not 24 threads on one CPU.
I’ve attached a screenshot showing the CPU usage. Can anyone please help me understand why this is happening and how to fix it so MATLAB properly distributes threads across both CPUs?

类别

在 帮助中心 和 File Exchange 中查找有关 Startup and Shutdown 的更多信息

产品

版本

R2023b

回答:

2025-11-13

Community Treasure Hunt

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

Start Hunting!

Translated by