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