Force Update a Block Output at Minor Time Steps

2 views (last 30 days)
cr
cr on 11 Oct 2013
Commented: Viren on 21 Aug 2014
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.

Answers (1)

Kaustubha Govind
Kaustubha Govind on 11 Oct 2013
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 Comments
cr
cr on 14 Oct 2013
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 on 21 Aug 2014
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.

Sign in to comment.

Categories

Find more on General Applications in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!