Main Content


Breakpoint properties for graphical or truth table function


    Use a Stateflow.FunctionBreakpoint object to specify the breakpoint properties for a graphical or truth table function. For more information, see Set Breakpoints to Debug Charts.


    Each graphical and truth table function has its own Stateflow.FunctionBreakpoint object. To access the Stateflow.FunctionBreakpoint object, use the Debug.Breakpoints property of the Stateflow.Function or Stateflow.TruthTable object.


    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 and set functions, respectively. For more information, see Modify Properties and Call Functions of Stateflow Objects.

    Whether to set the During Function Call breakpoint, specified as a numeric or logical 1 (true) or 0 (false).


    collapse all

    Access the Stateflow.FunctionDebug and Stateflow.FunctionBreakpoints objects for the Stateflow.Function object f.

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

    Set the During Function Call breakpoint.

    breakpoints.OnDuring = true;

    Version History

    Introduced before R2006a