Clear Filters
Clear Filters

Pass Variables from Java to MATLAB

2 views (last 30 days)
Jacob L
Jacob L on 16 Feb 2021
Answered: Anjaneyulu Bairi on 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.

Answers (1)

Anjaneyulu Bairi
Anjaneyulu Bairi on 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.

Categories

Find more on Java Package Integration in Help Center and File Exchange

Tags

Products


Release

R2020b

Community Treasure Hunt

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

Start Hunting!