Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
Have Java write to Matlab console?

Subject: Have Java write to Matlab console?

From: Thomas Marullo

Date: 19 Oct, 2010 19:51:04

Message: 1 of 3

Is it possible for an external program written in Java to write to the Matlab console? I want my Java program to execute a Matlab script file.

Subject: Have Java write to Matlab console?

From: Yair Altman

Date: 19 Oct, 2010 22:52:04

Message: 2 of 3

"Thomas Marullo" <tmm3@lehigh.edu> wrote in message <i9ksr8$85j$1@fred.mathworks.com>...
> Is it possible for an external program written in Java to write to the Matlab console? I want my Java program to execute a Matlab script file.

There are several alternatives. One of them is a Java package that uses JMI (Java-to-Matlab Integration):
http://undocumentedmatlab.com/blog/jmi-wrapper-remote-matlabcontrol/

Yair Altman
http://UndocumentedMatlab.com

Subject: Have Java write to Matlab console?

From: Thomas Marullo

Date: 20 Oct, 2010 14:31:11

Message: 3 of 3

"Yair Altman" <altmanyDEL@gmailDEL.comDEL> wrote in message <i9l7ek$78s$1@fred.mathworks.com>...
> "Thomas Marullo" <tmm3@lehigh.edu> wrote in message <i9ksr8$85j$1@fred.mathworks.com>...
> > Is it possible for an external program written in Java to write to the Matlab console? I want my Java program to execute a Matlab script file.
>
> There are several alternatives. One of them is a Java package that uses JMI (Java-to-Matlab Integration):
> http://undocumentedmatlab.com/blog/jmi-wrapper-remote-matlabcontrol/
>
> Yair Altman
> http://UndocumentedMatlab.com

Thanks, good information!

Tags for this Thread

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.

Contact us