Target Language Compiler | ![]() ![]() |
Stateflow Record
Stateflow library charts contained within your model can be multiinstanced, meaning that more than one instance of the same library chart appears in your model. The Stateflow
record contains one Chart
record for each unique library chart. Each Chart
record contains the block references to the chart.This record is used by the Real-Time Workshop/Stateflow code generator tools to generate code that is reusable among all instances of a library chart. Note that when generating code that will use dynamic memory allocation (e.g., grt_malloc
), all Stateflow charts are treated as multiinstanced to allow reuse of the chart code.
![]() | System Record | Model Checksums | ![]() |