Generate signal changing at specified transition times
The Stair Generator block generates a signal changing at specified transition times. Use the Stair Generator block to generate a logical signal to control the opening and closing of the Breaker block and the Ideal Switch block. You can also use the Stair Generator block to generate a signal whose amplitude changes by steps at specified transition times.
Specify the transition times, in seconds, when the output changes to the values specified in the Amplitude parameter. The output is kept to zero until the simulation reaches the first transition time.
Specify the amplitude sequence of the output signal. The amplitude is kept constant between the transition times specified in the Time (s) parameter. The amplitude of the output is kept to 0 until the simulation reaches the first transition time.
Specify the sample time of the block, in seconds. Set to 0 to implement a continuous block.
|Sample Time||Specified in the Sample Time parameter|
Continuous if Sample Time = 0