sldebug

Start simulation in debug mode

Syntax

sldebug('sys')

Description

sldebug('sys') starts a simulation in debug mode. See Debugger Command-Line Interface for information about using the debugger.

Examples

The following command:

sldebug('vdp')

loads the Simulink® example model vdp into memory and starts the simulation in debug mode. Alternatively, you can achieve the same result by using the sim command:

sim('vdp', 'debug', 'on')

See Also

Introduced in R2006a