| Using Simulink | ![]() |
| Introduction |
Overview of the debugger. |
| Starting the Debugger |
How to start the debugger. |
| Starting the Simulation |
How to start a simulation from the debugger. |
| Using the Debugger's Command-Line Interface |
How to debug from the MATLAB command line. |
| Getting Online Help |
How to get help on debugger commands. |
| Running a Simulation |
How to start, step, and stop a simulation in debug mode. |
| Setting Breakpoints |
How to set breakpoints at blocks and time steps. |
| Displaying Information About the Simulation |
How to display information about the current simulation. |
| Displaying Information About the Model |
How to display information about the model being debugged. |
| Debugger Command Summary |
Summary of debugger commands. |
Introduction
The Simulink debugger is a tool for locating and diagnosing bugs in a Simulink model. It enables you to pinpoint problems by running simulations step by step and displaying intermediate block states and input and outputs. The Simulink debugger has both a graphical and a command-line user interface. The graphical interface allows you to access the debugger's most commonly used features. The command-line interface gives you access to all the debugger's capabilities. Wherever you can use either interface to perform a task, the documentation shows you first how to use the graphical interface and then the command-line interface to perform the task.
| Predefined Masked Dialog Parameters | Starting the Debugger | ![]() |