Clear Filters
Clear Filters

How can I tell how many cores matlab has available for batch jobs?

1 view (last 30 days)
Parallel pools have defined numbers, but when I submit batch runs, how many will matlab run before queuing them up? I can't see anything in the monitor (2014a) that says. This is all local machine stuff BTW.

Accepted Answer

Elias Gule
Elias Gule on 6 Apr 2018
Does this answer your question:
N = maxNumCompThreads()

More Answers (0)


Find more on Startup and Shutdown in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!