na_0020: Number of inputs to variant subsystems
Sub ID Recommendations
NA-MAAB — b
JMAAB — a, b
Sub ID a
The number of inputs/outputs for a Variant Subsystem block and its child subsystem or model reference shall be the same.
The number of inputs to the child subsystem is different.
Sub ID b
The number of inputs/outputs for a Variant Model block shall be the same as its referenced model.
The number of inputs to the referenced model is different than the inputs to the Variant Model block.
Sub IDs a, b:
Unconnected signals can be unintentionally overlooked when the number of inputs/outputs is different.
Model Advisor check: Check for missing ports in Variant Subsystems (Simulink Check)
JMAAB guideline na_0020, which is available in Control Algorithm Modeling Guidelines Using MATLAB, Simulink, and Stateflow on the MathWorks® website.
Introduced in R2020a