NA-MAAB — a
JMAAB — a
Unary minus shall not be used on unsigned integers.
Negative values cannot be input into 16-bit environments. (Negative values can be input into 32-bit environments.)
Sub ID a:
As the results are depend on the execution environment, unintended results can occur.
Model Advisor check: Check usage of unary minus operations in Stateflow charts (Simulink Check)
JMAAB guideline jc_0451, which is available in Control Algorithm Modeling Guidelines Using MATLAB, Simulink, and Stateflow on the MathWorks® website.