Variable Time Step Solver

6 次查看(过去 30 天)
Horace
Horace 2013-3-25
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.

回答(2 个)

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

类别

Help CenterFile Exchange 中查找有关 General Applications 的更多信息

标签

产品

Community Treasure Hunt

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

Start Hunting!

Translated by