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?

 採用された回答

Jan
Jan 2014 年 2 月 28 日
編集済み: Jan 2014 年 2 月 28 日

0 投票

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.

その他の回答 (1 件)

カテゴリ

質問済み:

2014 年 2 月 28 日

回答済み:

2014 年 2 月 28 日

Community Treasure Hunt

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

Start Hunting!

Translated by