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 Charts

For Stateflow® charts in Simulink® models, you can perform most debugging tasks directly from the Stateflow Editor:

  • Set breakpoints to stop execution in specific objects, such as charts, states, transitions, graphical functions, truth table functions, local events, and input events.

  • Enable, disable, and set conditions on breakpoints in the Breakpoints and Watch window.

  • Add data that you want to monitor during simulation in the Breakpoints and Watch window.

  • After execution stops at a breakpoint, step through the simulation.

In addition, during simulation, you can display and change the values of Stateflow data in the MATLAB® Command Window.

For information on debugging Stateflow chart objects that you execute in MATLAB, see Debug a Standalone Stateflow Chart.

Related Topics