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.

Risposte (2)

Kaustubha Govind
Kaustubha Govind il 27 Mar 2013

0 voti

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 il 27 Mar 2013

0 voti

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:

Categorie

Scopri di più su General Applications in Centro assistenza e File Exchange

Prodotti

Tag

Richiesto:

il 25 Mar 2013

Community Treasure Hunt

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

Start Hunting!

Translated by