Decrease real-world value of signal by one
Simulink / Additional Math & Discrete / Additional Math: Increment - Decrement
HDL Coder / Math Operations
The Decrement Real World block decreases the real-world value of the signal by one. Overflows always wrap.
Port_1— Input signal
Input signal, specified as a scalar, vector, or matrix.
Port_1— Output signal
Output is the real-world value of the input signal decreased by one. 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 Decrement Real World.