Filter löschen
Filter löschen

Pass Variables from Java to MATLAB

3 Ansichten (letzte 30 Tage)
Jacob L
Jacob L am 16 Feb. 2021
Beantwortet: Anjaneyulu Bairi am 10 Apr. 2024
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.

Antworten (1)

Anjaneyulu Bairi
Anjaneyulu Bairi am 10 Apr. 2024
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.

Kategorien

Mehr zu Java Package Integration finden Sie in Help Center und File Exchange

Tags

Produkte


Version

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by