| Using Simulink | Search  Help Desk |
Breaking at Time Steps
You can use thetbreak 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
tbreak 9 continuecauses the debugger to halt the simulation at the beginning of time step
9.0785 as indicated by the output of the continue command.
[Tm=9.07847133212036 ] **Start** of system 'vdp' outputs