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
Was this topic helpful?