This is machine translation

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

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

Debugging

Detect state inconsistencies, data range violations, and transition conflicts

Analyze chart simulation in detail. Set breakpoints, monitor data values, and step through functions in state diagrams.

Topics

Debugging Charts

Set breakpoints and monitor data to debug Stateflow® charts.

Animate Stateflow Charts

Visually check behavior during simulation by using chart animation.

Commenting Stateflow Objects in a Chart

Comment out Stateflow objects to exclude them from simulation.

Common Modeling Errors Stateflow Can Detect

Describes common modeling errors that Stateflow flags.

Modeling Rules That Stateflow Detects During Edit Time

Discover modeling errors as you design in the Stateflow editor.

Guidelines for Avoiding Unwanted Recursion in a Chart

Describes guidelines for avoiding unwanted recursive behavior.

Implement Dynamic Test Vectors

Shows how to create test vectors that change dynamically during simulation