Switch output between two constants
Simulink / Discontinuities
HDL Coder / Discontinuities
The output for the Relay block switches between two specified values. When the relay is on, it remains on until the input drops below the value of the Switch off point parameter. When the relay is off, it remains off until the input exceeds the value of the Switch on point parameter. The block accepts one input and generates one output.
Note
When the initial input falls between the Switch off point and Switch on point values, the initial output is the value when the relay is off.
Data Types |
|
Direct Feedthrough |
|
Multidimensional Signals |
|
Variable-Size Signals |
|
Zero-Crossing Detection |
|