Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

calling and killing an external program from MATLAB

조회 수: 1 (최근 30일)
Sajid Afaque
Sajid Afaque 2019년 12월 18일
마감: Walter Roberson 2019년 12월 18일
Hello All,
I call another application(saber) from matlab for simulating.
it works well and the output of simulation are written seperately.
but sometimes the saber run into infinite numerical calculations,in such situations i need to kill saber.
i have used method of calling the .exe and pause(n) for 'n' seconds then if it is exceeding it then killing saber from matlab.
but the problem is it also waits for 'n' seconds for the simulation which finishes quite earlier than 'n' seconds.
so help me in implementing this ,where if the simulation is taking much time it will kill and if it is finished early then it should process further without waiting for 'n' seconds

답변 (0개)

Community Treasure Hunt

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

Start Hunting!

Translated by