MATLAB Only Using One CPU on Dual-CPU System

16 views (last 30 days)
Ivan Rodionov
Ivan Rodionov on 13 Nov 2025 at 17:53
Answered: Taylor on 13 Nov 2025 at 20:16
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?

Answers (1)

Taylor
Taylor on 13 Nov 2025 at 20:16

Categories

Find more on Parallel Computing Fundamentals in Help Center and File Exchange

Products


Release

R2023b

Community Treasure Hunt

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

Start Hunting!