필터 지우기
필터 지우기

How to close executable called with dos()

조회 수: 1 (최근 30일)
Christopher
Christopher 2014년 11월 7일
댓글: Geoff Hayes 2014년 11월 7일
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
Geoff Hayes
Geoff Hayes 2014년 11월 7일
Christopher - what happens when you run the thermo.exe from the command line? Does the exe terminate successfully, or does it not "close" either?

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Graphics Performance에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by