Decrement To Zero

Decrease real-world value of signal by one, but only to zero

Library

Additional Math & Discrete / Additional Math: Increment - Decrement

Description

The Decrement To Zero block decreases the real-world value of the signal by one. The output never goes below zero.

Data Type Support

The Decrement To Zero block accepts signals of the following data types:

  • Floating point

  • Built-in integer

  • Fixed point

For more information, see Data Types Supported by Simulink in the Simulink® documentation.

Parameters and Dialog Box

Characteristics

Direct Feedthrough

Yes

Scalar Expansion

No

Multidimensionalized

No

Zero-Crossing Detection

No

Was this topic helpful?