Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

Sample Time

Response to continuous and discrete mode changes

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.

Topics

Continuous-Time Modeling in Stateflow

Gives an overview of continuous-time modeling

Model Hybrid Systems with Model Logic

Describes the workflow for creating continuous-time charts

Configure a Stateflow Chart to Update in Continuous Time

Explains how to configure Stateflow charts to use a continuous update method

Define Continuous-Time Variables

Explains how to define continuous-time variables and their derivatives, and expose continuous states to Simulink® models

Model a Bouncing Ball in Continuous Time

Provides a step-by-step tutorial for modeling a bouncing ball in continuous time in a chart

Design Considerations for Continuous-Time Modeling in Stateflow Charts

Describes how to constrain the semantics of your Stateflow chart for modeling continuous-time systems

Was this topic helpful?