Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: running MATLAB commands from Java
Date: Mon, 26 Oct 2009 13:59:20 +0000 (UTC)
Organization: TACT Computer Systems Ltd
Lines: 9
Message-ID: <hc49vo$qf3$1@fred.mathworks.com>
References: <hc3v2d$gc7$1@fred.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-02-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1256565560 27107 172.30.248.37 (26 Oct 2009 13:59:20 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Mon, 26 Oct 2009 13:59:20 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 642467
Xref: news.mathworks.com comp.soft-sys.matlab:580084


"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