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.

  2. In the Chart Properties 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 to disable zero-crossing detection, based on considerations described in When to Disable Zero-Crossing Detection. You can choose from different zero-crossing detection algorithms in the Model Configuration Parameters dialog box, on the Solver pane. For details, see the Simulink® documentation.

  4. Click OK.

Was this topic helpful?