jc_0611: Input sign for multiplication and division blocks
Sub ID Recommendations
NA-MAAB — a
JMAAB — a
MATLABVersions
All
Rule
Sub ID a
When using fixed-point values as the input to the multiplication and divisionProductblock, the sign of the data type shall be the same for all input signals.
Custom Parameter
Not Applicable
Rationale
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.
Verification
Model Advisor check:Check signs of input signals in product blocks(Simulink Check)
Last Changed
R2020a
See Also
JMAAB guideline jc_0611, which is available inControl Algorithm Modeling Guidelines UsingMATLAB,金宝app, andStateflowon the MathWorks®website.