Products & Services Solutions Academia Support User Community Company

Learn more about SimEvents   

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. 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.000000
    
    
      Event Operations  (ev)   :  off
      Entity Operations (en)   :  off
      Event Calendar    (cal)  :  off
    
    
    Hit b1 : Breakpoint for first operation at or after time 2.000000
    
    %==============================================================================%
    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.evbreak | sedb.tbreak

How To

  


Related Products & Applications

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.

 © 1984-2009- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS