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 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Call Java from MATLAB 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!