Using Simulink     Search    Help Desk 

Breaking at Time Steps

You can use the tbreak command to set a breakpoint at a particular time step. The tbreak command takes a time value as its only argument. It causes the debugger to stop the simulation at the beginning of the first time step that follows the specified time. For example, starting vdp in debug mode and entering the commands

causes the debugger to halt the simulation at the beginning of time step 9.0785 as indicated by the output of the continue command.



[ Previous | Help Desk | Next ]