Hi, I am facing problem in running matlab codes from JAVA. If you know something on this, could u please help me out.
Thanks. Deepak
Hi, I am facing problem in running matlab codes from JAVA. If you know something on this, could u please help me out.
Thanks. Deepak
Here is a package that allows you to deploy MATLAB code as java classes.
http://forums.sun.com/thread.jspa?threadID=5311658
View This link. this link consists of example program for your question .
http://j-integra.intrinsyc.com/support/com/doc/other_examples/Matlab.htm
View this above link also it also helps you.
There are 2 ways for doing this :
If you don't want to buy MathWork's Matlab Builder for Java Toolbox, you can use Matlab's undocumented JMI (Java-Matlab Interface). Search the CSSM newsgroup (or Google) for JMI, or JMatLink which is based on JMI. The Matlab code itself is full of JMI usage examples - search "jmi" using the Matlab Editor's search tool over the entire Matlab installation.
Note that JMI is neither documented nor officially supported by MathWorks. Moreover, if improperly used it can hang or crash your application. But it's free, unlike the toolbox.