Check for prohibited sink blocks
Check ID:
mathworks.maab.hd_0001
Guideline: hd_0001: Prohibited Simulink sinks
Description
Check for prohibited Simulink® sink blocks.
You must design controller models from discrete blocks. Sink blocks, such as the Scope block, are not allowed in controller models.
This check requires a Simulink Check™ license.
Check Parameterization
For reference, the MAB guideline sub-ID(s) that are recommended for use by the NA-MAAB and JMAAB modeling standards organizations are:
NA-MAAB — a
JMAAB — Not supported
To customize the blocks and masks that are checked during the analysis, use the Model Advisor Configuration Editor.
Open the Model Configuration Editor and search for check ID
hd_0001
.Under Input Parameters, select
Custom
from the Standards list.In the Treat blocktype list as list, select
Allowed
to include the blocks/masks in the analysis orProhibited
to exclude the blocks/masks from the analysis.Use the Block Types list table to delete or add a block and/or mask type.
Click Apply and save the configuration.
Results and Recommended Actions
Condition | Recommended Action |
---|---|
Sink blocks are not permitted in discrete controllers. | Remove sink blocks from the model. |
Capabilities and Limitations
Runs on library models.
Analyzes content of library linked blocks.
Analyzes content in all masked subsystems.
Allows exclusions of blocks and charts.
Edit-Time Checking
This check is supported by edit-time checking.