db_0143: Usable block types in model hierarchy
Sub ID Recommendations
NA-MAAB — a
JMAAB — a
Sub ID a
Model levels shall use only the block types that are defined for the layer type. Clearly defined layer types restrict the number of blocks that can be used.
(R2011a and earlier) Enable block cannot be used at the root level of the model.
Action ports are not permitted at the root level of a model.
Data flow layers that are used for basic blocks only.
Other than data flow layers, layers can include blocks that are used for structural subsystems and all other layers.
Blocks that can be used for all layers include:
Sub ID a:
Readability is impaired when subsystems and basic blocks are used in the same layer.
Model Advisor check: Check for mixing basic blocks and subsystems (Simulink Check)
JMAAB guideline db_0143, which is available in Control Algorithm Modeling Guidelines Using MATLAB, Simulink, and Stateflow on the MathWorks® website.
Introduced in R2020a