This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

db_0143: Similar block types on the model levels

ID: Title

db_0143: Similar block types on the model levels

Priority

Strongly recommended

Scope

NA-MAAB

MATLAB Versions

All

Prerequisites

None

Description

To allow partitioning of the model into discrete units, every level of a model must be designed with building blocks of the same type (i.e. only Subsystems or only Basic Blocks). The blocks listed in this guideline are used for signal routing. You can place them at any level of the model.

Blocks that You Can Place at any Model Level

BlockExample
Action port1

Bus Creator

Bus Selector

Case

Data Store Memory

Data Type Conversion

Demux

Enable2

From

Function-Call Generator

Function-Call Split

Goto

Ground

If

Inport

Merge

Mux

Outport

Rate Transition

Selector

Terminator

Trigger3

Unit Delay

1Action ports are not allowed at the root level of a model.

2Starting in R2011b, the Enable block is allowed at the root level of the model.

3Starting in R2009a, the Trigger block is allowed at the root level of the model.

Note

If the Trigger or Enable blocks are placed at the root level of the model, then the model will not simulate in a standalone mode. The model must be referenced using the Model block.

Rationale

  • Readability

  • Workflow

  • Verification and Validation

Last Changed

V2.2

Model Advisor Check

By Task > Modeling Standards for MAAB > Simulink > Check for mixing basic blocks and subsystems

For check details, see Check for mixing basic blocks and subsystems.

Introduced in R2010a