xbreak
Set or clear breakpoint to pause when state limits step size in simulation debugging session
Syntax
Description
xbreak
sets or clears a breakpoint that pauses simulation
when the value of a state in the model limits the step size in a simulation
debugging session that uses a variable-step solver.
If the breakpoint was not set, the command sets the breakpoint.
If the breakpoint had been set, the command clears the breakpoint.
The step-size limiting state breakpoint can help debug and analyze models that require more steps than expected in a variable-step 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