Problem: Calling Matlab function from Java

2 views (last 30 days)
Yunsik Jung
Yunsik Jung on 8 Apr 2020
Commented: Yunsik Jung on 9 Apr 2020
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 Comment
Yunsik Jung
Yunsik Jung on 9 Apr 2020
I solved that issue by adding Window Environmental variables,
Path: matlabroot\R2019b\bin\win64

Sign in to comment.

Answers (0)

Tags

Products

Community Treasure Hunt

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

Start Hunting!