Effacer les filtres
Effacer les filtres

How to close executable called with dos()

1 vue (au cours des 30 derniers jours)
Christopher
Christopher le 7 Nov 2014
Commenté : Geoff Hayes le 7 Nov 2014
I am using
dos('thermo.exe')
to run the executable. This exe does something and then spits out a text file of results. However, the exe never closes and so MATLAB continues to be busy. How can I have matlab automatically close the executable when it is finished? When the exe is done, it prints "I am done!!!!", maybe I can use that?
Edit: alternatively, I can have matlab realize that it is done and move on without closing the exe.
Thanks.
  1 commentaire
Geoff Hayes
Geoff Hayes le 7 Nov 2014
Christopher - what happens when you run the thermo.exe from the command line? Does the exe terminate successfully, or does it not "close" either?

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Graphics Performance dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by