-1

i have project in matlab (neural network) but my GUI is using java (netbeans) and i want to open my matlab project using that GUI. can anyone show me the code to open matlab or other program using java. thanks

2
  • SO is for Q&A, not for people to "show you the code". If this problem requires code, edit your post so it follows this format: What are you trying to do? What is the problem? What have you tried? Commented Sep 1, 2015 at 19:31
  • 1
    add your attempts, please. We needn't do your work Commented Sep 1, 2015 at 19:31

1 Answer 1

0

You'd want something like this:

Runtime runTime = Runtime.getRuntime();
Process process = runTime.exec("matlab");        
process.destroy(); // to kill the app
Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.