Products & Services Solutions Academia Support User Community Company

Learn more about Stateflow   

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.

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

      • Enables zero-crossing detection

      • Disables super step semantics

    After you select the continuous update method, note that zero-crossing detection is enabled by default.

  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.

  


Related Products & Applications

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.

 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS