Main Content

Check for prohibited sink blocks

Check ID: mathworks.maab.hd_0001

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.

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.

  1. Open the Model Configuration Editor and search for check ID hd_0001.

  2. Under Input Parameters, select Custom from the Standards list.

  3. In the Treat blocktype list as list, select Allowed to include the blocks/masks in the analysis or Prohibited to exclude the blocks/masks from the analysis.

  4. Use the Block Types list table to delete or add a block and/or mask type.

  5. Click Apply and save the configuration.

Results and Recommended Actions

ConditionRecommended 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.