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 ExchangeTroubleshooting 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