Documentation

This is machine translation

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

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

na_0011: Scope of Goto and From blocks

ID: Title

na_0011: Scope of Goto and From blocks

Priority

Strongly recommended

Scope

MAAB

MATLAB Versions

All

Prerequisites

None

Description

For signal flows, the following rules apply:

  • From and Goto blocks must use local scope.

    Note:   Control flow signals may use global scope.

Control flow signals are output from:

  • Function-call generators

  • If and Case blocks

  • Function call outputs from MATLAB® and Stateflow® blocks

Control flow signals are identified as dashed lines in the model after updating a Simulink® model.

Rationale

  • Readability

  • Verification and Validation

  • Workflow

  • Code Generation

  • Simulation

Last Changed

V2.2

Model Advisor Check

By Task > Modeling Standards for MAAB > Simulink > Check scope of From and Goto blocks

For check details, see Check scope of From and Goto blocks (Simulink Verification and Validation).

Introduced in R2010a

Was this topic helpful?