Pass Variables from Java to MATLAB

2 次查看(过去 30 天)
Hi, I'm trying to pass a variable from a Java program to the MATLAB workspace.
The engine.jar located at
  • C:\Program Files\MATLAB\R2020b\extern\engines\java\jar\engine.jar
The windows PATH variable includes (at the top of the list)
  • C:\Program Files\MATLAB\R2020b\bin\win64
The Java project structure dependencies (set in IntelliJ) include the
  • engine.jar
  • win64
I still get the error when trying to run the program
C:\Program Files\MATLAB\R2020b\bin\win64\nativemvm.dll: Can't find dependent libraries
Can someone please help me? I've read through everything on the forumn about this topic and nothing works. Any help would be greatly appreciated.

回答(1 个)

Anjaneyulu Bairi
Anjaneyulu Bairi 2024-4-10
Hi
I understand that you are getting error while passing variables from JAVA to MATLAB Workspace which says C:\Program Files\MATLAB\R2020b\bin\win64\nativemvm.dll: Can't find dependent libraries.
You can visit the below MATLAB answer, which might help resolve the above error.
I hope this helps.

类别

Help CenterFile Exchange 中查找有关 Startup and Shutdown 的更多信息

标签

产品


版本

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by