Thread Subject: running MATLAB commands from Java

Subject: running MATLAB commands from Java

From: Murali Manohara Chembarpu

Date: 26 Oct, 2009 10:53:01

Message: 1 of 2

I have some requirement to invoke Matlab from Java platform and run certain Matlab commands from Java end. I could not find exact documentation for the same. Java Builder is not exactly what we are looking at. We just need a Java interface (like COM server which can serve for C/.NET) running from MATLAB end.

Subject: running MATLAB commands from Java

From: Yair Altman

Date: 26 Oct, 2009 13:59:20

Message: 2 of 2

"Murali Manohara Chembarpu" <muralimanohara.chembarpu@microchip.com> wrote in message <hc3v2d$gc7$1@fred.mathworks.com>...
> I have some requirement to invoke Matlab from Java platform and run certain Matlab commands from Java end. I could not find exact documentation for the same. Java Builder is not exactly what we are looking at. We just need a Java interface (like COM server which can serve for C/.NET) running from MATLAB end.

What you're looking for is called JMI (Java-Matlab Integration) and it's one of the deepest undocumented black holes in Matlab. You can find a few references in this forum (threads 250598, 38383, 154026, 157132) and elsewhere (e.g., http://www.cs.virginia.edu/~whitehouse/matlab/JavaMatlab.html). Everything is contained within the com.mathworks.jmi package.

You may also find the JMatLink project helpful: http://jmatlink.sourceforge.net/

Yair Altman
http://UndocumentedMatlab.com

Tags for this Thread

Everyone's Tags:

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Tag Activity for This Thread
Tag Applied By Date/Time
undocumented Yair Altman 26 Oct, 2009 09:59:25
matlab Murali Manohara Chembarpu 26 Oct, 2009 06:54:01
java Murali Manohara Chembarpu 26 Oct, 2009 06:54:01
rssFeed for this Thread
 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com