Skip to Main Content Skip to Search
Product Documentation

sedb.cont - Package: sedb

Continue simulation until next breakpoint

Syntax

cont

Description

cont continues the simulation until it reaches the next breakpoint or the end, whichever comes first.

Examples

Establish a breakpoint at T=2 and then run the simulation until that point:

  1. Begin a debugger session for a particular model. At the MATLAB command prompt, enter:

    sedebug('sedemo_timeout')
  2. 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
  1. End the debugger session. At the sedebug>> prompt, enter:

    sedb.quit

See Also

sedb.blkbreak | sedb.evbreak | sedb.tbreak

How To

  


Free SimEvents Evaluation Kit

Learn how you can use SimEvents discrete-event simulation capabilities through these technical resources.

Get free kit

Trials Available

Try the latest version of discrete-event simulation products.

Get trial software
 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS