stop/ break 'sim' and continue to the next step depending upon elapsed time

1 次查看(过去 30 天)
{
Prog.... ....
...
tic
sim('model', ConfigSet);
toc
... Prog continues ...
}
If I want or stop/ break and continue to the next step depending upon elapsed time
say, if sim is running for 15 sec then I want to stop sim command and proceed to next command
How it will be possible??

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 MATLAB 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by