Problem: Calling Matlab function from Java

I have tried to use MatlabEngine from Java.
I added the library of "C:\Program Files\MATLAB\R2019b\extern\engines\java\jar\engine.jar".
But, when I run the following simple class in Java, I got the error.
Anyone have an idea to solve this problem?
Thank you, in advance.

댓글 수: 1

Yunsik Jung
Yunsik Jung 2020년 4월 9일
I solved that issue by adding Window Environmental variables,
Path: matlabroot\R2019b\bin\win64

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

도움말 센터File Exchange에서 Call MATLAB from Java에 대해 자세히 알아보기

제품

태그

질문:

2020년 4월 8일

댓글:

2020년 4월 9일

Community Treasure Hunt

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

Start Hunting!

Translated by