Main Content

Stateflow.disableInstrumentation

Disable Stateflow animation and breakpoints

Since R2026a

    Description

    Stateflow.disableInstrumentation disables or enables debugging instrumentation for Stateflow® blocks in the current MATLAB® instance. Debugging instrumentation includes animations and breakpoints.

    By default, debugging instrumentation is active.

    example

    Examples

    collapse all

    Disable the debugging instrumentation for Stateflow blocks.

    Stateflow.disableInstrumentation(true)

    Enable the debugging instrumentation for Stateflow blocks.

    Stateflow.disableInstrumentation(false)

    Version History

    Introduced in R2026a

    See Also