Stateflow.FunctionDebug - Debugger properties for graphical or truth table function - MATLAB (original) (raw)

Main Content

Debugger properties for graphical or truth table function

Description

Use a Stateflow.FunctionDebug object to specify the debugger properties for a graphical or truth table function.

Creation

Each graphical or truth table function has its ownStateflow.FunctionDebug object. To access theStateflow.FunctionDebug object, use the Debug property for the Stateflow.Function or Stateflow.TruthTable 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 graphical or truth table function, specified as aStateflow.FunctionBreakpoint object with this property:

For more information, see Set Breakpoints to Debug Charts.

Examples

collapse all

Access the Stateflow.FunctionDebug andStateflow.FunctionBreakpoints objects for theStateflow.Function object f.

debug = f.Debug; breakpoints = debug.Breakpoints;

Set the During Function Call breakpoint.

breakpoints.OnDuring = true;

Version History

Introduced before R2006a