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

  


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