필터 지우기
필터 지우기

How to close an external programme after execution in Matlab

조회 수: 2 (최근 30일)
Ahmed Abed
Ahmed Abed 2017년 6월 9일
댓글: Ahmed Abed 2017년 6월 15일
I have successfully called and executed an external programme in Matlab, the programme requires file input before running therefore I used the following commands:
A=system('C:\Zeek\ZEEKER.exe C:\Zeek\test1.DAT')
or
! "C:\Zeek\ZEEKER.exe" C:\Zeek\test1.DAT
both of those commands worked fine and I can see the results file is stored in the same directory. However, the programme creates a window (please click ok to exit) that have to be clicked in order to close the programme and return back to Matlab. that means in every loop, I have to click ok to complete running the code. I have tried commands like (&) or (& exit&&) but did not work. please, is there an automated way to close the programme? Thanks in advance for your help

답변 (0개)

카테고리

Help CenterFile Exchange에서 Search Path에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by