0

Java 调用 MATLAB 报错,找不到配置文件

borgel created at5 years ago view count: 2583

错误信息如下。 Caused by: java.lang.NullPointerException at com.mathworks.toolbox.javabuilder.internal.MCRConfiguration$ProxyLibraryDir.get(MCRConfiguration.java:258) at com.mathworks.toolbox.javabuilder.internal.MCRConfiguration$ProxyLibraryDir.(MCRConfiguration.java:288)

report
回复
0

环境变量必须要设置下才行。

export LD_LIBRARY_PATH=/usr/local/MATLAB/MATLAB_Runtime/v901/sys/os/glnxa64/:/usr/local/MATLAB/MATLAB_Runtime/v901/bin/glnxa64/:/usr/local/MATLAB/MATLAB_Runtime/v901/runtime/glnxa64/

5 years ago 回复

Recent search keywords