How I can run simulink step by step

1 view (last 30 days)
Kai
Kai on 21 Oct 2014
Commented: Kai on 21 Oct 2014
I am working on co-simulation. Could you tell me how to run the simulink step by step? When I used the command 'SIM', the results of last step is always missed.
Thanks in advance.

Answers (2)

Shrirang
Shrirang on 21 Oct 2014
1) Hi you can use simulink debugger for this using this u can stop the simulation every step. You can use the option "Go to first method at start of next time step" (4th option)
U can see the value of any block at each step

Kai
Kai on 21 Oct 2014
How can control it using matlab engine?

Categories

Find more on Prepare Model Inputs and Outputs 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!