Documentation

Bus Signals

Manage large data structures

Use structures to create bus signals for your Stateflow® charts, Truth Tables, and MATLAB® function blocks. Define custom structures in C code that you can integrate into your Stateflow chart.

Topics

About Stateflow Structures

Describes Stateflow structures and how you can use structure data types.

Rules for Defining Structure Data Types in Charts

Define structures in Stateflow charts by using these guidelines.

Structure Operations

Use Stateflow structure operations to perform tasks such as indexing substructures, assigning values to structures, or getting the address of a structure.

Connect Structures in Charts to External Bus Signals

Provides examples of structures in a Stateflow chart.

Define Stateflow Structures

Define input, output, local, and temporary structures.

Integrate Custom Structures in Stateflow Charts

Define custom Stateflow structures in C code.

Debug Structures

Use Stateflow to examine and correct structure values.

Was this topic helpful?