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.

Antworten (2)

Kaustubha Govind
Kaustubha Govind am 27 Mär. 2013

0 Stimmen

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 am 27 Mär. 2013

0 Stimmen

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:

Kategorien

Mehr zu General Applications finden Sie in Hilfe-Center und File Exchange

Produkte

Tags

Gefragt:

am 25 Mär. 2013

Community Treasure Hunt

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

Start Hunting!

Translated by