使用Java的Matlab parpool时出错

时间:2015-10-06 15:31:44

标签: matlab

我的系统是Windows Server 2012 Standart R2,Matlab版本是R2015a。我试过了this example。当我运行Java应用程序时,它会停止:

    Starting parallel pool (parpool) using the 'local_mcruserdata' profile ... connected to 8 workers.
    Parallel pool using the 'local_mcruserdata' profile is shutting down.
    Error using parpool (line 103)
    Failed to start a parallel pool. (For information in addition to the causing error, validate the profile 'local_mcruserdata' in the Cluster Profile Manager.)

    Error in sample_pct (line 11)

    Caused by:
        Error using cd
        An internal error occurred during dctPathAndClearNotification.

    The error is `com.mathworks.toolbox.javabuilder.MWException`: Failed to start a parallel pool. (For information in addition to the causing error, validate the profile 'local_mcruserdata' in the Cluster Profile Manager.)

我的Cluster Profile Manager中不存在配置文件'local_mcruserdata'。我使用local.settings文件,它是导出配置文件'local'。

1 个答案:

答案 0 :(得分:1)

这是R2015a中的已知问题。见http://uk.mathworks.com/support/bugreports/1224308