Skip to Main Content Skip to Search
Product Documentation

rbreak - Break simulation before solver reset

Syntax

rbreak
rb

Description

rbreak enables (or disables) a solver reset breakpoint if the breakpoint is disabled (or enabled). The breakpoint causes the debugger to halt the simulation whenever an event requires a solver reset. The halt occurs before the solver resets.

rb is the short form of the command.

Examples

Start Simulink debugger for the model vdp and a set breakpoint before a solver reset.

  1. In the MATLAB Command Window, enter:

    sldebug 'vdp'

    The MATLAB command prompt >> is replaced with the Simulink debugger prompt (sldebug @0): >>.

  2. Enter:

    rbreak

    The MATLAB Command Window displays:

    Break on solver reset request              : enabled

See Also

bafter | break | ebreak | nanbreak | tbreak | xbreak | zcbreak

  


Related Products & Applications

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

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