Meaningless Drivel is fun!*
The moose likes Java in General and the fly likes How to start Matlab in Linux use Java? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "How to start Matlab in Linux use Java?" Watch "How to start Matlab in Linux use Java?" New topic
Author

How to start Matlab in Linux use Java?

Hope Jrzhu
Greenhorn

Joined: Apr 24, 2009
Posts: 2
Hello here,

I am going to write a program, to start Matlab in Linux by Java.

I mean when I run my program, the Matlab program will be start to run.

Is there anyone have some idea can tell me?

Thank you very very much.
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 36579
    
  16
Welcome to JavaRanch

Have you tried Runtime.exec()? But before you go anywhere near Runtime.exec(), read the classic example by Michael Daconta about it: here.
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 36579
    
  16
And this is too difficult a question for beginners. Moving.
Hope Jrzhu
Greenhorn

Joined: Apr 24, 2009
Posts: 2
Thank you
 
jQuery in Action, 2nd edition
 
subject: How to start Matlab in Linux use Java?
 
Similar Threads
Java to MATLAB?
interacting java and matlab
Ending a thread without ending the JVM
Java net BindException:Address already in use: JVM_Bind
how to call matlab function from a java program