MATLAB Answers

Chuck37
0

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

Asked by Chuck37
on 6 Apr 2018
Latest activity Commented on by Chuck37
on 6 Apr 2018
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.

  0 Comments

Sign in to comment.

1 Answer

Answer by Elias Gule
on 6 Apr 2018
 Accepted Answer

Does this answer your question:
N = maxNumCompThreads()

  1 Comment

It works, though it says it will be removed in a future release (from 2014a).

Sign in to comment.