NA-MAAB — No recommendations
JMAAB — a, b
* mark shall be used for the first input to a
multiplication and division Product block.
/ mark is used for the first input.
The multiplication and division Product block shall not have more than two inputs.
The block has three inputs.
Sub ID a:
When checking the block, the input order of the expression and block is reversed, which impairs readability.
For floating point numbers, the code is generated according to the
operation order in the block --
((1÷1st input)) × 2nd
input. However, if division is performed later, then the
number of operations can be reduced.
Sub ID b:
The order of operations is clearly defined.
Model Advisor check: Check operator order of Product blocks (Simulink Check)
JMAAB guideline jc_0610, which is available in Control Algorithm Modeling Guidelines Using MATLAB, Simulink, and Stateflow on the MathWorks® website.