<matlabpath>/bin/glnxa64/libnativemvm.so already loaded in another classloader
2 views (last 30 days)
Show older comments
Hi all,
I have been trying to use Matlab Engine to control matlab sessions with the following code:
String[] options = {"-noFigureWindows", "-r", "-cd"};
MatlabEngine startMatlab = MatlabEngine.startMatlab(options);
startMatlab.eval("GxwModel");
startMatlab.close();
However, I am getting the following error "<matlabpath>/bin/glnxa64/libnativemvm.so already loaded in another classloader". Could anyone point me to the direction of how I can fix it? Thanks in advance!
2 Comments
Amit Doshi
on 18 Jul 2017
Hello Salman,
Try launching the MATLAB Engine with -nojvm -nodisplay -nosplash options as well.
Also, which line is throwing the error and are you able to run MATLAB on that machine?
Answers (0)
See Also
Categories
Find more on Startup and Shutdown in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!