How to launch Matlab runtime using java MatLabEngine (engine.jar) ?

7 次查看(过去 30 天)
  • I have installed mcr 9.3. I have set the path %MATLAB_ROOT%\v93\runtime\win64 in the path variable. I have written a java application using MatlabEngine eng = MatlabEngine.startMatlab();. I am getting an error like "No native library found".
  • Then I configured the path " %MATLAB_ROOT%\v93\bin\win64". Now I am getting the error "Unable to launch".
  • If I install MATLAB compiler(Full version) and set the path , I am able to run the java program. But using MCR I am not able to run. And in MCR installation, I am not able to find the "engine.jar" file also under "\v93\extern\engines" for java.
Thank you in advance,

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Call MATLAB from Java 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by