Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

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

Introduced before R2006a

Was this topic helpful?