Choosing the correct sample time affects how well your model simulates. Choose continuous update method for models that respond to both continuous and discrete mode changes. Deciding whether to disable zero-crossing detection can improve the performance of models that frequently fluctuate between two modes of operation. When you define continuous variables, Stateflow® can implicitly create their time derivatives.
Gives an overview of continuous-time modeling
Describes the workflow for creating continuous-time charts
Explains how to configure Stateflow charts to use a continuous update method
Explains how to define continuous-time variables and their derivatives, and expose continuous states to Simulink® models
Provides a step-by-step tutorial for modeling a bouncing ball in continuous time in a chart
Describes how to constrain the semantics of your Stateflow chart for modeling continuous-time systems