How to deternine the number of open labs.

1 次查看(过去 30 天)
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.

采纳的回答

Jason Ross
Jason Ross 2012-10-19
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.

更多回答(1 个)

Eric H.
Eric H. 2012-10-19
Thank you!

类别

Help CenterFile Exchange 中查找有关 2-D and 3-D Plots 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by