Increase stored integer value of signal by one
Simulink / Additional Math & Discrete / Additional Math: Increment - Decrement
The Increment Stored Integer block increases the stored integer value of a signal by one.
Floating-point signals also increase by one, and overflows always wrap.
Port_1— Input signal
Input signal, specified as a scalar, vector, or matrix.
Port_1— Output signal
Output is the stored integer value of the input signal increased by one. Floating-point signals also increase by one, and overflows always wrap. The output has the same data type and dimensions as the input.
The code generator does not explicitly group primitive blocks that constitute a nonatomic masked subsystem block in the generated code. This flexibility allows for more efficient code generation. In certain cases, you can achieve grouping by configuring the masked subsystem block to execute as an atomic unit by selecting the Treat as atomic unit option.
For more information about HDL code generation, see Increment Stored Integer.