Simulink Reference    

Simulink Debugger Commands


Command Summary

The following table lists the debugger commands. The table's Repeat column specifies whether pressing the Return key at the command line repeats the command. Detailed descriptions of the commands follow the table.


Command

Short
Form


Repeat


Description

ashow
as
No
Show an algebraic loop.
atrace
at
No
Set algebraic loop trace level.
bafter
ba
No
Insert a breakpoint after execution of a block.
break
b
No
Insert a breakpoint before execution of a block.
bshow
bs
No
Show a specified block.
clear
cl
No
Clear a breakpoint from a block.
continue
c
Yes
Continue the simulation.
disp
d
Yes
Display a block's I/O when the simulation stops.
help
? or h
No
Display help for debugger commands.
ishow
i
No
Enable or disable display of integration information.
minor
m
No
Enable or disable minor step mode.
nanbreak
na
No
Set or clear break on nonfinite value.
next
n
Yes
Go to start of the next time step.
probe
p
No
Display a block's I/O.
quit
q
No
Abort simulation.
run
r
No
Run the simulation to completion.
slist
sli
No
List a model's nonvirtual blocks.
states
state
No
Display current state values.
status
stat
No
Display debugging options in effect.
step
s
Yes
Step to next block.
stop
sto
No
Stop the simulation.
systems
sys
No
List a model's nonvirtual systems.
tbreak
tb
No
Set or clear a time breakpoint.
trace
tr
Yes
Display a block's I/O each time it executes.
undisp
und
Yes
Remove a block from the debugger's list of display points.
untrace
unt
Yes
Remove a block from the debugger's list of trace points.
xbreak
x
No
Break when the debugger encounters a step-size-limiting state.
zcbreak
zcb
No
Break at nonsampled zero-crossing events.
zclist
zcl
No
List blocks containing nonsampled zero crossings.


  text ashow