Products & Services Solutions Academia Support User Community Company

Learn more about Stateflow   

Speeding Up Simulation

To simulate your model more quickly, disable options as described in the steps that follow:

  1. In the Stateflow Editor, select Tools > Open Simulation Target.

    The Simulation Target pane appears in the Configuration Parameters dialog box.

  2. Clear any of these options:

    • 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.

    • 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.

  3. Click OK.

  


Related Products & Applications

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