Skip to Main Content Skip to Search
Product Documentation

stop - Stop simulation

Syntax

stop

Description

stop stops the simulation of the model you are debugging.

Examples

Start and stop a simulation for the model vdp using the Simulink debugger.

  1. Start a debugger session. In the MATLAB Command Window, enter:

    sldebug 'vdp'

    The MATLAB command prompt >> changes to the Simulink debugger prompt (sldebug @0): >>.

  2. Start a simulation of the model. Enter:

    run
  3. Stop the simulation. Enter:

    stop

See Also

continue | quit | run

  


Related Products & Applications

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.

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