Variable Time Step Solver

2 vues (au cours des 30 derniers jours)
Horace
Horace le 25 Mar 2013
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.

Réponses (2)

Kaustubha Govind
Kaustubha Govind le 27 Mar 2013
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 le 27 Mar 2013
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:

Catégories

En savoir plus sur General Applications dans Help Center et File Exchange

Tags

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by