Skip to Main Content Skip to Search
Product Documentation

Speeding Up Simulation

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

  1. Open the Configuration Parameters dialog box and select the Simulation Target pane.

  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.

  


Free Stateflow Interactive Kit

Learn how engineers use Stateflow to model state machines in their Simulink models.


Get free kit

Trials Available

Try the latest version of Stateflow.


Get trial software
 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS