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

1 次查看(过去 30 天)
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 CenterFile Exchange 中查找有关 Call 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