MATLAB: Is there a property that allows inspection of the state of the “breakpoint on function call” in the Stateflow API

breakpointbreakpointsdebugonduringstateflow

I would like to know if the Stateflow API for the Function property provides a property that allows inspection of the state of the "breakpoint on function call" which can be set on the property dialog for a graphical function.

Best Answer

This enhancement has been incorporated in Release 2008b (R2008b). For previous product releases, read below for any possible workarounds:
The Debug.Breakpoints.OnDuring property maps to the Fcn-call breakpoint for a Function Object. If this property is set to true, set the state during breakpoint for this chart. Equivalent to selecting the State During check box in the properties dialog for this state. For more information, see the following documentation:
You can also visit the following webpage for more information on Debugging Properties:
<http://www.mathworks.com/access/helpdesk/help/toolbox/stateflow/api/f19-32409.html>