Simulink - Triggered Subsystem - Initial Condition
Show older comments
Hi,
I can set the initial value of the output of a triggered subsystem. However, at step 2, the output is zero again as long as no trigger signal appears at the input. Is there a way to keep the value to the initial value until the first trigger occurs?
Thank you
1 Comment
C.J. Harris
on 5 Jan 2012
This is the default behaviour usually. What is your trigger type?
Answers (2)
Ross Brown
on 17 Jan 2012
0 votes
Given just a default Triggered Subsystem block and a Step Input. I set the output port, "Out1", to have the "initial output" of 5.
The value of "Out1" stays 5 until the Triggered Subsystem block sees a rising edge.
This seems opposite from what you are seeing.
JOKY JOKE
on 17 Jan 2012
0 votes
Categories
Find more on Schedule Model Components 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!