Documentation

This is machine translation

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

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

Run Accelerator Mode with the Simulink Debugger

Advantages of Using Accelerator Mode with the Debugger

The Accelerator mode can shorten the length of your debugging sessions if you have large and complex models. For example, you can use the Accelerator mode to simulate a large model and quickly reach a distant break point.

For more information, see Accelerator Mode.

    Note:   You cannot use the Rapid Accelerator mode with the debugger.

How to Run the Debugger

To run your model in the Accelerator mode with the debugger:

  1. From the Simulation > Mode menu, select Accelerator.

  2. At the command prompt, enter:

    sldebug modelname

  3. At the debugger prompt, set a time break:

    tbreak 10000
    continue
    
  4. Once you reach the breakpoint, use the debugger command emode (execution mode) to toggle between Accelerator and Normal mode.

When to Switch Back to Normal Mode

You must switch to Normal mode to step through the simulation by blocks, and when you want to use the following debug commands:

Related Examples

More About

Was this topic helpful?