How to deternine the number of open labs.

1 vue (au cours des 30 derniers jours)
Eric H.
Eric H. le 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.

Réponse acceptée

Jason Ross
Jason Ross le 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.

Plus de réponses (1)

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

Catégories

En savoir plus sur Get Started with MATLAB dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by