FixPt Relational Operator
Perform the specified relational operation on the inputs.
Description
The FixPt Relational Operator block is a masked S-function that performs a comparison of its two inputs. The first (top) input is converted to the data type of the second (bottom) input prior to comparison.
The supported relational operators are:
| Operation | Description |
|---|---|
| == | TRUE if the first input is equal to the second input |
| ~= | TRUE if the first input is not equal to the second input |
| < | TRUE if the first input is less than the second input |
| <= | TRUE if the first input is less than or equal to the second input |
| >= | TRUE if the first input is greater than or equal to the second input |
| > | TRUE if the first input is greater than the second input |
Dialog Box Parameters

- Operator - Relational operator used to compare the two inputs.
- Logical output data type - Output data type. Use only data types that can represent zero exactly such as signed and unsigned integers and any floating-point data type.
Characteristics
| Characteristic | Description |
|---|---|
| Input Port | Any data type supported by the blockset |
| Output Port | Any data type supported by the blockset |
| Direct Feedthrough | Yes |
| Sample Time | Inherited |
| Scalar Expansion | Yes |
| States | 0 |
| Vectorized | Yes |