Problem: Calling Matlab function from Java

2 vues (au cours des 30 derniers jours)
Yunsik Jung
Yunsik Jung le 8 Avr 2020
Commenté : Yunsik Jung le 9 Avr 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 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

En savoir plus sur Call MATLAB from Java dans Help Center et File Exchange

Tags

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by