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