我想在Matlab 2013a中使用parfor
循環。但是,當我嘗試打開matlabpool
時,它給出了下面列出的錯誤。如何在matlab2013a中使用matlabpool?
matlabpool open
Starting matlabpool using the 'local' profile ... stopped.
Error using matlabpool (line 144)
Failed to open matlabpool. (For information in addition to the causing error,
validate the profile 'local' in the Cluster Profile Manager.)
Caused by:
Error using parallel.internal.pool.InteractiveClient/start (line 281)
Failed to start matlabpool.
Error using parallel.Cluster/createCommunicatingJob (line 82)
The property "NumWorkersRange" cannot be set after submission.
或當我使用:
n = matlabpool('size')
它給了我0
的答案。
我該如何解決這個問題? 我的系統配備了兩個2.66 GHz 6核Intel Xeon處理器。
錯誤消息已經告訴你該怎麼做。轉到並行>管理羣集配置文件。在那裏你選擇了「本地」配置文件並按下「驗證」。它應該告訴你該怎麼做,或者至少提供一些額外的細節。 – Daniel 2014-08-29 22:56:12