Main Content

Stateflow.SLFunction

Simulink function in chart, state, box, or function

    Description

    Use Stateflow.SLFunction objects to create Simulink® functions that enable you to call Simulink subsystems in the actions of states and transitions. Typical applications include:

    • Defining a function that requires Simulink blocks

    • Scheduling execution of multiple controllers

    For more information, see Reuse Simulink Functions in Stateflow Charts.

    expand all

    collapse all

    Introduced in R2008b