This week's book giveaway is in the Java in General forum.
We're giving away four copies of Think Java: How to Think Like a Computer Scientist and have Allen B. Downey & Chris Mayfield on-line!
See this thread for details.
Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to start Matlab in Linux use Java?

 
Hope Jrzhu
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 48930
60
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 48930
60
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
And this is too difficult a question for beginners. Moving.
 
Hope Jrzhu
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic