sldebug - Start simulation in debug mode
Syntax
sldebug('sys')
Description
sldebug('sys') starts a simulation in debug
mode. See Simulink Debugger and Simulink Debugger Commands for
information about using the debugger.
Examples
The following command:
sldebug('vdp')loads the Simulink demo model vdp into
memory and starts the simulation in debug mode. Alternatively, you
can achieve the same result by using both the sim and simset commands:
sim('vdp', [0,10], simset('debug', 'on'))See Also
sim, simset
 | slCharacterEncoding | | sldiagnostics |  |
Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.
Get this Simulink Kit