Variable Time Step Solver

I'm trying to figure out the time steps used in my model when it is set on variable time step. So far I have been looking at the "tout" variable that is saved to my workspace.
However, I think the tout is only the timestep for the uppermost level of the model. Does the tout signal apply to all signals that have a "continuous sample time?" My ultimate question is what times are each signal calculating in the model.

Answers (2)

Kaustubha Govind
Kaustubha Govind on 27 Mar 2013

0 votes

I think the only way to see this might be to log those intermediate signals also, using something like the Floating Scope.
Guy Rouleau
Guy Rouleau on 27 Mar 2013

0 votes

I confirm: The "tout" signal apply to all signals that have a "continuous sample time.
If you want to see more of what the continous step is doing, you can use my central submission, or even the Simulink Debugger:

Categories

Find more on General Applications in Help Center and File Exchange

Products

Tags

Asked:

on 25 Mar 2013

Community Treasure Hunt

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

Start Hunting!