Fixed-Point Blockset    
Compare To Zero

Determine if a signal is equal to zero

Library

Logic & Comparison

Description

The Compare To Zero block is a masked block that determines if a signal is equal to zero where:

Parameters and Dialog Box

Operator
Specify how the input is compared to zero.

Characteristics

Input Port
Any data type supported by the blockset
Output Port
An 8-bit unsigned integer
Direct Feedthrough
Yes

See Also

Compare To Constant


  Compare To Constant Constant