mcr hangs when running java program that wraps matlab compiled java jar

1 回表示 (過去 30 日間)
Justin Livermore
Justin Livermore 2021 年 11 月 1 日
I'm using MCR v93 to compile a simple matlab program into a java jar. This appears to work. I then create a new java program and add the matlab compiled jar file as a library. I can create the java objects and the java code compiles. When I try to run the program it gets to the first isntance of trying to instantiate the first matlab object and the java code just hangs. No errors are seen. The java program just hangs on the instantiation of the object. I'm using Windows 10, Netbeans 8.2, and java jdk 1.8_181. I have tried this with several different matlab programs and it always does the same thing. Any help would be appreciated.
I have no way of posting the code.

回答 (0 件)

カテゴリ

Help Center および File ExchangeCall Java from MATLAB についてさらに検索

タグ

製品


リリース

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by