Fixed-Point Blockset Previous page   Next Page
Compare To Constant

Determine if a signal is equal to the specified constant

Library

Logic & Comparison

Description

The Compare To Constant block determines if a signal is equal to the specified constant where:

You enter the constant with the Constant value parameter.

Parameters and Dialog Box

Operator
Specify how the input is compared to the constant value.
Constant value
Specify the constant value that the input is compared with.

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

Compare to Zero


Previous page  Bitwise Operator Compare To Zero Next page

Learn more about the latest releases of MathWorks products:

 © 1994-2010 The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS