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 个评论

I solved that issue by adding Window Environmental variables,
Path: matlabroot\R2019b\bin\win64

请先登录,再进行评论。

回答(0 个)

类别

帮助中心File Exchange 中查找有关 Call MATLAB from Java 的更多信息

产品

标签

Community Treasure Hunt

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

Start Hunting!

Translated by