NA-MAAB — No recommendations
JMAAB — a
These names shall match when they are directly connected by using signal lines.
A signal line that connects to one of the following subsystem types can have a name that differs from that of the subsystem port label:
Subsystems linked to a library
When a combination of Inport, Outport, and other blocks have the same name, use a suffix or prefix for the Inport and Outport blocks. Any prefix or suffix can be used for ports, but they must be consistent. For example, the Inport block uses “in” and Outport block uses “out”.
Inport and Outport blocks must have different names and signal names.
Names of model elements that connect directly to signal lines are consistent.
Inconsistent names for model elements that connect directly to signal lines.
Sub ID a:
Prevent misconnected signal lines.
Readability is impaired.
Deviation from the rule can make it difficult to maintain the integrity of the model and code.
Model Advisor check: Check for consistency in model element names (Simulink Check)
JMAAB guideline jc_0602, which is available in Control Algorithm Modeling Guidelines Using MATLAB, Simulink, and Stateflow on the MathWorks® website.