Stateflow.TransDebug - Debugger properties for transition - MATLAB (original) (raw)

Main Content

Debugger properties for transition

Description

Use a Stateflow.TransDebug object to specify the debugger properties for a transition.

Creation

Each transition has its own Stateflow.TransDebug object. To access theStateflow.TransDebug object, use the Debug property for the Stateflow.Transition object.

Properties

expand all

Stateflow® API objects have properties that correspond to the values you set in the Stateflow Editor. To access or modify a property, use dot notation. To access or modify multiple properties for multiple API objects, use the get andset functions, respectively. For more information, see Modify Properties and Call Functions of Stateflow Objects.

Breakpoint properties for the transition, specified as a Stateflow.TransBreakpoints object with these properties:

For more information, see Set Breakpoints to Debug Charts.

Examples

collapse all

Access the Stateflow.TransDebug andStateflow.TransBreakpoints objects for theStateflow.Transition objecttransition.

debug = transition.Debug; breakpoints = debug.Breakpoints;

Set the When Transition is Tested and When Transition is Valid breakpoints.

breakpoints.WhenTested = true; breakpoints.WhenValid = true;

Version History

Introduced before R2006a