Documentation

Decrement Real World

Decrease real world value of signal by one

Library

Additional Math & Discrete / Additional Math: Increment - Decrement

Description

The Decrement Real World block decreases the real world value of the signal by one. Overflows always wrap.

Data Type Support

The Decrement Real World block accepts signals of the following data types:

  • Floating point

  • Built-in integer

  • Fixed point

For more information, seeData Types Supported by Simulinkin the Simulink®documentation.

Characteristics

Data Types

Double | Single | Base Integer | Fixed-Point

Direct Feedthrough

Yes

Multidimensional Signals

No

Variable-Size Signals

Yes

Zero-Crossing Detection

No

Code Generation

Yes

Introduced before R2006a

Was this topic helpful?