Products & Services Solutions Academia Support User Community Company

Learn more about Simulink   

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

  


Related Products & Applications

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

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