Debug Structures

You debug structures as you would other Stateflow® chart data, as described in Watch Stateflow Data Values. Using the Stateflow Breakpoints and Watch window, you can examine the values of structure fields during simulation. To view the values of structure fields at the command line, use dot notation to index into the structure, as described in Index Sub-Structures and Fields.

Was this topic helpful?