MATLAB Answers

How to deternine the number of open labs.

3 views (last 30 days)
Eric H.
Eric H. on 19 Oct 2012
After running "matlabpool open", there is an integer in the lower right hand corner of the Matlab window which gives the number of open "labs". Is there a command which will return this same number - the number of open labs? Thank you.

  0 Comments

Sign in to comment.

Accepted Answer

Jason Ross
Jason Ross on 19 Oct 2012
matlabpool('size')
matlabpool('size') returns the size of the worker pool if it is open, or 0 if the pool is closed. In this functional form, you can assign the output to a variable.

  0 Comments

Sign in to comment.

More Answers (1)

Eric H.
Eric H. on 19 Oct 2012
Thank you!

  0 Comments

Sign in to comment.

Sign in to answer this question.

Tags