| Using Simulink | Search  Help Desk |
| Relational Operator |
Perform the specified relational operation on the input.
Library
MathDescription
Data Type Support
A Relational Operator block accepts real signals of any data type. It outputs a signal of typeboolean, unless boolean compatibility mode is enabled (see "Enabling Strict Boolean Type Checking"), in which case the block outputs a signal of type double.
Parameters and Dialog Box

Characteristics
| Direct Feedthrough |
Yes |
| Sample Time |
Inherited from driving block |
| Scalar Expansion |
Of inputs |
| Vectorized |
Yes |
| Zero Crossing |
Yes, to detect when the output changes |