Fixed-Point Blockset | ![]() ![]() |
Determine if a signal is equal to the specified constant
Library
Description
The Compare To Constant block is a masked block that determines if a signal is equal to the specified constant where:
when the input signal is equal to the specified constant.
0)
when the input signal is not equal to the specified constant.
You enter the constant with the Constant value parameter.
Parameters and Dialog Box
Characteristics
Input Port |
Any data type supported by the blockset |
Output Port |
An 8-bit unsigned integer |
Direct Feedthrough |
Yes |
Scalar Expansion |
Yes |
See Also
![]() | Bitwise Operator | Compare To Zero | ![]() |