script writing

hi, it is possible to write a script which can work as following:

run first a c++ code, when this job is finished, then run a matlab code ?

how to write it ?

thanks

What are the steps? I mean, when you're using a shell, what do you type?
This is pretty straightforward. As kbw said, how would you do this in the shell? That's all it takes
This isn't even difficult.

I'm not so sure about matlab however - does matlab compile directly into an app that can be called from the command prompt?

Unix was written mostly in C/C++ so calling a C++ command will be as easy as running a unix app.

it is done ! thanks !
Topic archived. No new replies allowed.