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

1 view (last 30 days)
{
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??

Answers (0)

Categories

Find more on MATLAB in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!