I seem to have discovered the source of my issue. I am using JDK11 to build my app and I am currently using Matlab 2017b. If I switch to JDK8 to build my app, the problem goes away. The issue with that is that I am trying to use some features that were added in Java 10. Additionally, Java 8 is no longer supported. I will have to investigate if a newer version of Matlab will work with a more recent Java version.
How do I resolve a "ACCESS_VIOLATION_EXCEPTION" when trying to execute MatLab functions from Java?
조회 수: 2 (최근 30일)
이전 댓글 표시
I am trying to call Matlab from Java. I can successfully call the "eval" function of the MatlabEngine object that I create. However, when I call either the "feval" or "getVariable" functions, I get a "EXCEPTION_ACCESS_VIOLATION" error that crashes the VM. I have looked around and been unable to resolve this issue. How do I fix this?
Thank you
댓글 수: 0
답변 (1개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Call MATLAB from Java에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!