Should I close the matlabpool
이전 댓글 표시
I have an external application open an MCR, call "matlabpool open", run parallel code and quit the matlab. The above may occur several times before a complete shutdown.
Should I run "matlabpool close" before quiting matlab? Or is the matlabpool automatically being closed?
I'm using version 2012a.
답변 (1개)
Richard Alcock
2013년 3월 28일
0 개 추천
The pool should notice when the client MCR (or client MATLAB) goes away and will effectively be closed at that point - the cluster's resources will be released. But calling matlabpool close makes it clearer what your intent is and gives the pool the chance to close cleanly.
카테고리
도움말 센터 및 File Exchange에서 Job and Task Creation에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!