How to deternine the number of open labs.

조회 수: 1 (최근 30일)
Eric H.
Eric H. 2012년 10월 19일
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