Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

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.

Characteristics

Data Types

Double | Single | Base Integer | Fixed-Point

Direct Feedthrough

Yes

Multidimensional Signals

No

Variable-Size Signals

No

Zero-Crossing Detection

No

Code Generation

Yes

Introduced before R2006a

Was this topic helpful?