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_0042: Port block in Simulink models

ID: Title

db_0042: Port block in Simulink® models

Priority

Strongly recommended

Scope

MAAB

MATLAB Versions

All

Prerequisites

None

Description

In a Simulink model, ports must comply with the following rules:

  • Place Inport blocks on the left side of the diagram; you may move them to prevent signal crossings.

  • Place Outport blocks on the right side of the diagram; you may move them to prevent signal crossings.

  • You may use duplicate Inport blocks at the subsystem level, if required, but avoid doing so, if possible.

    • Do not use duplicate Inport blocks at the root level.

Correct

Incorrect

Notes on the incorrect model

  • Inport 2 should be moved in so it does not cross the feedback loop lines.

  • Outport 1 should be moved to the right side of the diagram.

Rationale

Readability

Last Changed

V2.0

Model Advisor Check

By Task > Modeling Standards for MAAB > Simulink > Check positioning and configuration of ports

For check details, see Check positioning and configuration of ports.

Introduced in R2010a