Check for prohibited sink blocks
Guideline: hd_0001: Prohibited Simulink sinks
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.
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
Under Input Parameters, select
Customfrom the Standards list.
In the Treat blocktype list as list, select
Allowedto include the blocks/masks in the analysis or
Prohibitedto 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
|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.
This check is supported by edit-time checking.