| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → Stateflow |
| Contents | Index |
| Learn more about Stateflow |
To simulate your model more quickly, disable options as described in the steps that follow:
In the Stateflow Editor, select Tools > Open Simulation Target.
The Simulation Target pane appears in the Configuration Parameters dialog box.

Enable debugging/animation — Clear this check box to disable chart animation and debugging.
This option enables automatically when you use the Stateflow Debugger to start a model simulation. You can also control chart animation separately in the Debugger. (The Stateflow Debugger works only with simulation targets. Therefore, you cannot generate debugging/animation code for embeddable targets, even if you enable this option.)
Enable overflow detection (with debugging) — Clear this check box to disable overflow detection of Stateflow data in the generated code. Overflow occurs for data when a value is assigned to it that exceeds the numeric capacity of its type.
Note The Enable overflow detection (with debugging) option is important for fixed-point data. For more information, see Overflow Detection for Fixed-Point Types. To detect overflow in data during simulation, you must also select the Data Range check box in the Debugger window. See Debugging Data Range Violations in a Chart for more details. |
Echo expressions without semicolons — Clear this check box to disable run-time output in the MATLAB Command Window, such as actions that do not terminate with a semicolon.
![]() | Procedures for Simulation | Choosing a Procedure to Generate Embeddable Code for a Model | ![]() |

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 |