| Fixed-Point Blockset | ![]() |
Determine if a signal is equal to the specified constant
Library
Description
The Compare To Constant block 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 | ![]() |
Learn more about the latest releases of MathWorks products: |
| © 1994-2010 The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |