Main Content
Decrement Stored Integer
Decrease stored integer value of signal by one
Libraries:
Simulink /
Additional Math & Discrete /
Additional Math: Increment - Decrement
HDL Coder /
Math Operations
Description
The Decrement Stored Integer block decreases the stored integer value of a signal by one.
Floating-point signals also decrease by one, and overflows always wrap.
Examples
Ports
Input
Output
Block Characteristics
Data Types |
|
Direct Feedthrough |
|
Multidimensional Signals |
|
Variable-Size Signals |
|
Zero-Crossing Detection |
|
Extended Capabilities
Version History
Introduced before R2006a