How can one efficiently execute a simulink model step by step in time?

Unfortunately, the links in a similar post from 2011 are not relevant.
I need it for co-simulation with an external program.

1 Comment

What does efficiently mean in this context, should the overall simulation runtime be minimal? And how do you want to execute the model step by step, similar to how the Debug mode helps you run it, clicking through the Step button to simulate one time-step of the simulation?

Sign in to comment.

Answers (0)

Asked:

on 17 Oct 2022

Commented:

on 9 Feb 2023

Community Treasure Hunt

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

Start Hunting!