NA-MAAB — No recommendations
JMAAB — a
All
When a Fcn block has operators with different priorities, parentheses shall be used to specify the priority order.
Not Applicable
Sub ID a:
When operators have different priorities and the computation order is not clearly specified by using parentheses, readability is impaired and can be misinterpreted. This can result in unintended behavior.
Model Advisor check: Check for parentheses in Fcn block expressions (Simulink Check)
R2020a
JMAAB guideline jc_0622, which is available in Control Algorithm Modeling Guidelines Using MATLAB, Simulink, and Stateflow on the MathWorks® website.