Matlab JA Builder NullPointerException Failure to Run in Eclipse

Hello-
I have built and installed MATLAB code encrypted into JavaPackages using Matlab's deploytool/JA Builder. However, I get the same error each time I try to run the functions encoded in the packages - even when implementing the example plotdemo [Example]
- - - -
import plotdemo.*
RUN CODE
- - - -
[*Error yielded*: (createplot.java:27 refers to plotter thePlot = new plotter();)]
_Exception in thread "main" java.lang.ExceptionInInitializerError
...
at plotdemo.PlotdemoMCRFactory.newInstance (PlotdemoMCRFactory.java:50)
at plotdemo.PlotdemoMCRFactory.newInstance(PlotdemoMCRFactory.java:61) at plotdemo.plotter.<init>(plotter.java:64)
at uploadDownload.createplot.main(createplot.java:27)
Caused by: java.lang.NullPointerException
at com.mathworks.toolbox.javabuilder.internal.MCRConfiguration$ProxyLibraryDir. get(MCRConfiguration.java:143) at com.mathworks.toolbox.javabuilder.internal.MCRConfiguration$ProxyLibraryDir. clinit(MCRConfiguration.java:173)
... 11 more_

回答(0 个)

类别

帮助中心File Exchange 中查找有关 Troubleshooting in MATLAB Compiler SDK 的更多信息

提问:

2012-8-21

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by