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