matlab java linux undefined variable nnMex or class nnMex.yy

ty=net(testdata_x');
Matlab uses the net function to generate the jar package used by java. In the linux environment, tomcat runs, it will report an exception, suggesting that the variable nnMex or class nnMex.yy is not defined.
com.mathworks.toolbox.javabuilder.MWException: undefined variable nnMex or class nnMex.yy
at com.mathworks.toolbox.javabuilder.internal.MWMCR.mclFeval(Native Method)
at com.mathworks.toolbox.javabuilder.internal.MWMCR.access$600(MWMCR.java:31)
at com.mathworks.toolbox.javabuilder.internal.MWMCR$6.mclFeval(MWMCR.java:891)

1 件のコメント

lpf
lpf 2023 年 9 月 21 日
Hi jianwei
If you've solved the problem, would you mind sharing the file?
Thanks

サインインしてコメントする。

回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeStartup and Shutdown についてさらに検索

質問済み:

2019 年 6 月 12 日

コメント済み:

lpf
2023 年 9 月 21 日

Community Treasure Hunt

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

Start Hunting!

Translated by