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_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

Introduced in R2013a

Was this topic helpful?