Documentation

Configure a Stateflow Chart to Update in Continuous Time

Continuous updating is a Stateflow® chart property. To set this property:

  1. Right-click inside a chart and select Properties from the context menu.

    The Chart properties dialog box appears.

  2. In this dialog box, set the Update method to Continuous.

    When you set the Update method to Continuous, the chart:

    • Enables zero-crossing detection

    • Disables super step semantics

  3. Decide whether or not to enable zero-crossing detection, based on considerations described in When to Enable Zero-Crossing Detection.

      Note:   You can choose from different zero-crossing detection algorithms in the Solver pane of the Model Configuration Parameters dialog box. See Zero-Crossing Algorithms in the Simulink® User's Guide for details.

  4. Click OK.

Was this topic helpful?