简体   繁体   中英

settings required to call matlab from java (netbeans ide)

I am working on a project that requires me to call the MATLAB functions from Netbeans IDE. Can you please help me with clear instructions as to how to set it up. I am looking for a step by step procedure as to what changes I need to make to the paths etc.

MATLAB runs a Java Virtual Machine, but isn't really a library you can just call from Java code, sadly. I believe the closest you'll be able to come is invoking MATLAB itself programmatically via system calls in your Java.

However, numerous alternatives to MATLAB exist that you might be able to use. Examples include Apache Commons Math , Colt and JAMA . See also this question .

I haven't used Matlabcontrol. But you might want to try Matlab Builder JA . Through this you can deploy your Matlab functions in java, and use it like any other java class. The tutorials in the matlab page should be enough for you to understand how it works.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM