How to pause and resume simulation at each time step?
Show older comments
I am trying to pause the simulation at each time step using the assertion block but the model is getting paused at 1st time step and not getting Resumed(Continued).
I have appended 'set_param(bdroot,'SimulationCommand','pause'), set_param(bdroot,'SimulationCommand','continue')' Commands in the callback of assertion block.
Accepted Answer
More Answers (0)
Categories
Find more on Model, Block, and Port Callbacks in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!