How to run MATLAB code from Java?

后端 未结 5 1825
自闭症患者
自闭症患者 2020-12-19 12:01

I am facing problem in running MATLAB code from Java. If you know something on this, could u please help me out?

5条回答
  •  情话喂你
    2020-12-19 12:18

    Instead of using the undocumented JMI (Java MATLAB Interface) mentioned by Yair, you can use matlabcontrol which is a Java API that wraps around JMI which makes it much easier to use. It is well documented and has an introductory walkthrough. Unlike directly using JMI, it can also be used when running a Java program outside MATLAB.

提交回复
热议问题