Fixed-Point Blockset    
Decrement To Zero

Decreases the real-world value of a signal by one, but only to zero.

Library

Math

Description

The Decrement To Zero block is a masked block that decreases the real-world value of the signal by one. The output will never go below zero.

Parameters and Dialog Box

Characteristics

Input Port
Any data type supported by the blockset
Output Port
Same as the input
Direct Feedthrough
Yes
Scalar Expansion
No

See Also

Decrement Real World, Decrement Stored Integer, Decrement Time To Zero


  Decrement Time To Zero Derivative