Stair Generator
R2026bDiscrete-time or continuous-time stair signal generator
Libraries:
Simscape /
Electrical /
Control /
General Control
Description
The Stair Generator block generates a stair signal based on the values specified in the Time (s) and Amplitude parameters.
The block can output a repeating stair pattern or execute the pattern only once by keeping the last amplitude active for all subsequent times.
Ports
Output
Parameters
Programmatic Use: Add Block
To add the block programmatically, use the add_block function with one of these library block paths as the source.
"ee_sl_lib/General Control/Stair Generator"
Example: add_block("ee_sl_lib/General Control/Stair Generator","myModel/myBlock",MakeNameUnique="on")
Extended Capabilities
Version History
Introduced in R2020a
