Documentation

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 a constant scope.

  • Structures of parameter scope must be tunable.

  • Data array objects cannot contain structures.

More About

Was this topic helpful?