Contents

na_0042: Location of Simulink functions

ID: Title

na_0042: Location of Simulink® functions

Priority

Recommended

Scope

NA-MAAB

MATLAB Versions

All

Description

When deciding whether to embed Simulink functions inside a Stateflow® chart, the following conditions make embedding the preferred option. If the Simulink functions

  • Use only local Chart data.

    OR

  • Use a mixture of local Chart data and inputs from Simulink. OR

    OR

  • Are called from multiple locations within the chart.

    OR

  • Are not called every time step.

Rationale

  • Readability

  • Workflow

Last Changed

V3.0

Model Advisor Check

Not applicable

Was this topic helpful?