Force Update a Block Output at Minor Time Steps

1 次查看(过去 30 天)
I just realised that the output of some blocks (e.g.source blocks like ramp and constant) are updated only at the beginning of a major time step. Is it possible to force update output signal of a block to update at the end of minor time steps too during a simulation?
Thanks.
P.s. I resubmitted this modifying the wordings of a Q I submitted earlier.

回答(1 个)

Kaustubha Govind
Kaustubha Govind 2013-10-11
As far as I know, these blocks are internally configured to be Fixed in Minor Step, since it is a known fact that their output is not affected by the minor step. Perhaps you can explain more about why you'd like to force them to run in minor steps? It just seems inefficient.
  3 个评论
cr
cr 2013-10-14
Also, a choice of [0,0] sample time for a constant of ramp block seems to make no difference compared to [0 1]. Does the latter guarantee 'fixed in minor step'? Doesn't the former guarantee not 'fixed in minor step'?
Viren
Viren 2014-8-21
It's a pity you never got a proper answer for this question. The minor time steps in Simulink is a particularly dense concept with not much information available out there to help newcomers.

请先登录,再进行评论。

类别

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