<matlabpath>/bin/glnxa64/libnativemvm.so already loaded in another classloader
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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 comentarios
Amit Doshi
el 18 de Jul. de 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?
Respuestas (0)
Ver también
Categorías
Más información sobre Startup and Shutdown en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!