Main Content
step
Advance simulation by specified increment
Description
step
advances the simulation by the
amount specified by amt
amt
. For example, to advance the simulation
to the first method in the next time step, specify amt
as
top
.
step top
Input Arguments
Tips
After executing a block method in a programmatic simulation debugging session, the software displays this information in the MATLAB® Command Window:
Current simulation time
Tm
Block ID
Next method to execute
Block input values
U1,...,Un
Block output values
Y1,...,Yn
Block continuous state vector
CSTATE
Block discrete state vector
DSTATE
The image shows typical Command Window output after calling the
step
function.
Version History
Introduced in R2007a