| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → Stateflow |
| Contents | Index |
| Learn more about Stateflow |
Here are the tasks for modeling hybrid systems containing mode logic in continuous-time using Stateflow charts:
| Step | Task | Example in Bouncing Ball Model |
|---|---|---|
Task 1: Configure the Bouncing Ball Chart for Continuous Updating | ||
Task 2: Decide Whether to Enable Zero-Crossing Detection for the Bouncing Ball | ||
Task 3: Define Continuous-Time Variables for Position and Velocity | ||
Choose a solver that supports continuous states (see Choosing a Solver in the Simulink User's Guide documentation). | ||
Add system dynamics. | ||
Task 6: Expose Ball Position and Velocity to the Simulink Model | ||
Validate semantics, based on design considerations for continuous-time simulation. | ||
Simulate the chart. | ||
Debug and revise. |
![]() | About Continuous-Time Modeling | Configuring a Stateflow Chart to Update in Continuous-Time | ![]() |

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 |