Main Content

ebreak

Set or clear breakpoint to pause when solver error occurs in simulation debugging session

Syntax

Description

ebreak sets or clears a breakpoint that pauses simulation when a recoverable solver error occurs during a simulation debugging session.

  • If the breakpoint was not set, the command sets the breakpoint.

  • If the breakpoint had been set, the command clears the breakpoint.

When you do not set this breakpoint, the solver recovers from the error and continues simulation. When an unrecoverable error occurs with or without this breakpoint set, the error stops the simulation.

Note

This function is supported only for simulation debugging sessions started programmatically using the sldebug function or using the sim function with the 'debug' name-value argument.

Version History

Introduced before R2006a