How to close external application

I use "!"C:\Program Files\...." to open an external application.
Now, how do I make matlab wait until the program ends and CLOSE this external application?

 Risposta accettata

Jan
Jan il 28 Feb 2014
Modificato: Jan il 28 Feb 2014

0 voti

There is no way to check, if the external program is ready.
If your application can signal that it is ready, you can close it by using taskkill.

Richiesto:

il 28 Feb 2014

Risposto:

il 28 Feb 2014

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by