Problem: Calling Matlab function from Java

조회 수: 2(최근 30일)
Yunsik Jung
Yunsik Jung 2020년 4월 8일
댓글: Yunsik Jung 2020년 4월 9일
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개)

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by