Using Simulink Previous page   Next Page

Starting the Debugger

You can start the debugger either from a model window or from the MATLAB command line. To start the debugger from a model window, select Debugger from the model window's Tools menu. The debugger's graphical user interface appears (see Using the Debugger's Graphical User Interface).

To start the debugger from the MATLAB Command Window, enter either the sldebug command or a sim command. For example, either the command

or the command

loads the Simulink demo model vdp into memory, starts the simulation, and stops the simulation at the first block in the model's execution list.


Previous page  Getting Online Help Starting a Simulation Next page

© 1994-2005 The MathWorks, Inc.