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 commentaire

Yunsik Jung
Yunsik Jung le 9 Avr 2020
I solved that issue by adding Window Environmental variables,
Path: matlabroot\R2019b\bin\win64

Connectez-vous pour commenter.

Réponses (0)

Catégories

Produits

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by