| Contents | Index |
Continue simulation until next breakpoint
cont
cont continues the simulation until it reaches the next breakpoint or the end, whichever comes first.
Establish a breakpoint at T=2 and then run the simulation until that point:
Begin a debugger session for a particular model. At the MATLAB command prompt, enter:
sedebug('sedemo_timeout')Establish a breakpoint and proceed in the simulation. At the sedebug>> prompt, enter:
tbreak 2 detail none cont
The output ends with a message describing the context of the simulation at T=2:
Set b1 : Breakpoint for first operation at or after time 2 Event Operations (ev) : off Entity Operations (en) : off Signal Operations (sig) : off Event Calendar (cal) : off Hit b1 : Breakpoint for first operation at or after time 2 %==============================================================================% Executing EntityGeneration Event (ev10) Time = 2.000000000000000 : Entity = <none> Priority = 1 : Block = Time-Based Entity Generator
End the debugger session. At the sedebug>> prompt, enter:
sedb.quit
sedb.blkbreak | sedb.evbreak | sedb.tbreak

Learn how you can use SimEvents discrete-event simulation capabilities through these technical resources.
Get free kit| © 1984-2012- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |