Main Content

jc_0611: Input sign for multiplication and division blocks

Since R2020a

Guideline Publication

Control Algorithm Modeling Guidelines - Using MATLAB®, Simulink®, and Stateflow®

Sub ID Recommendations

  • NA-MAAB — a

  • JMAAB — a

MATLAB Versions



Sub ID a

When using fixed-point values as the input to the multiplication and division Product block, the sign of the data type shall be the same for all input signals.

Custom Parameter

Not Applicable


Sub ID a:

  • A utility function is created for each least significant bit (LSB) when fixed-point code is generated. Unification of data type signs can reduce the number of utility functions.


Model Advisor check: Check signs of input signals in product blocks (Simulink Check)

Last Changed


Version History

Introduced in R2020a