NA-MAAB — a, b, c, d, e, f
JMAAB — a, b, c, d, e, f
All
Only these character types shall be used in Inport and Outport block names:
Single-byte alphanumeric characters (a-z
,
A-Z
, 0-9
)
Single-byte underscore (_
)
Line breaks, single-byte spaces, double-byte characters, and control characters shall not be used.
Not Applicable
[Inport] and [Outport] block names shall not use numbers at the beginning.
Not Applicable
[Inport] and [Outport] block names shall not use underscores at the beginning.
Not Applicable
[Inport] and [Outport] block names shall not use underscores at the end.
Not Applicable
[Inport] and [Outport] block names shall not use consecutive underscores.
Not Applicable
[Inport] and [Outport] block names shall not consist solely of a single reserved MATLAB word.
Not Applicable
Sub IDs a, b:
Deviation from the rule can make it difficult to maintain the integrity of the model and code.
Sub IDs c, e:
Readability is impaired.
Sub IDs d:
Readability is impaired.
Underscores can be used to separate words. However, they are typically used as word breaks and can cause misunderstanding in the description.
Sub IDs f:
Readability is impaired.
Deviation from the rule can cause unexpected issues.
Model Advisor check: Check port block names (Simulink Check)
R2020a
JMAAB guideline jc_0211, which is available in Control Algorithm Modeling Guidelines Using MATLAB, Simulink, and Stateflow on the MathWorks® website.
Reserved Keywords (Embedded Coder)
Reserved Identifiers and Code Replacement (Embedded Coder)