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?

 Respuesta aceptada

Jan
Jan el 28 de Feb. de 2014
Editada: Jan el 28 de Feb. de 2014

0 votos

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.

Categorías

Etiquetas

Preguntada:

el 28 de Feb. de 2014

Respondida:

el 28 de Feb. de 2014

Community Treasure Hunt

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

Start Hunting!

Translated by