Skip to Main Content Skip to Search
Product Documentation

Configuring 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 Configuration Parameters dialog box. See Zero-Crossing Algorithms in the Simulink User's Guide for details.

  4. Click OK.

  


Free Stateflow Interactive Kit

Learn how engineers use Stateflow to model state machines in their Simulink models.


Get free kit

Trials Available

Try the latest version of Stateflow.


Get trial software
 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS