Rules for Defining Structure Data Types in Charts

Follow these rules when defining structures in Stateflow® charts:

  • You must define each structure as a Simulink.Bus object in the base workspace.

  • You cannot define structures for Stateflow machines.

  • Structures cannot have these scopes: Constant or Data Store Memory.

  • Structures of parameter scope must be tunable.

  • Data array objects cannot contain structures.

Was this topic helpful?