Set or clear breakpoint to pause when solver error occurs in simulation debugging session
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.
Introduced before R2006a