Forced Sample time for dynamic initialization

1 view (last 30 days)
Hi there,
is there a possibility to to force a subsystem with a slower sample (e.g. 20ms) time to take over new initial values if an entering signal with a higher sample time (5ms) changes to TRUE?
My actual problem is, that I have an initialization signal with 5ms of sample time. The desired subsystem works with 20ms of sampletime. Currently the subsystem might "miss" the init signal because it is only true for 5ms....
Is there a possibility to force the subsystem sampletime to 5ms only for one time step if this init signal is true?

Answers (0)

Categories

Find more on Modeling in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!