Windows 7上的MCR(MATLAB编译器运行时)undefinedVarOrClass错误

时间:2013-06-11 12:35:09

标签: matlab compiler-construction runtime

我正在尝试执行一个调用用MATLAB编译的dll的exe程序,我正在使用MATLAB MCR R2012b来执行它。

在Windows XP 32位上运行正常,但在尝试在Windows 7(64位)上运行时,会出现以下错误:

Warning: Initializing Handle Graphics failed in matlabrc
This indicates a potentially serious problem in your MATLAB setup,
which should be resolved as soon as possible. Error detected was:
MATLAB:undefinedVarOrClass
Undefined variable "graphics" or class "graphics.internal.initializeMATLABRoot".
Warning: Failed to add default profiler filters.
>In matlabrc at 163
Undefined function 'javaaddpath' for input arguments of type 'cell'
Could not initialize function.

我已经安装了MCR R2012b(32位)和JRE(32位)。我尝试过更改MATLAB_JAVA和MATLAB_PREFDIR环境变量,没有结果。

另外,我无法尝试执行restoredfaultpath命令,因为我只安装了MCR而不是完整的MATLAB工具。

任何人都可以提供任何线索吗?

0 个答案:

没有答案