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.

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

  • 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

Introduced in R2013a