| Using Simulink | ![]() |
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
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.
| Note When running the debugger in graphical user interface (GUI) mode, you must explicitly start the simulation. See Starting the Debugger for more information. |
| Getting Online Help | Starting a Simulation | ![]() |
© 1994-2005 The MathWorks, Inc.