Pass Variables from Java to MATLAB

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.

Risposte (1)

Anjaneyulu Bairi
Anjaneyulu Bairi il 10 Apr 2024

0 voti

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.

Prodotti

Release

R2020b

Tag

Richiesto:

il 16 Feb 2021

Risposto:

il 10 Apr 2024

Community Treasure Hunt

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

Start Hunting!

Translated by