Generated Code Partitions

Control generated code partitioning

Topics

Generate Global Variables from Signals in Model

Associate signals with a global data store so that they appear as global variables in generated Structured Text code.

Control Code Partitions for Subsystem Block

Choose whether a Subsystem block is inlined in generated Structured Text code or appears as a reusable function.

Control Code Partitions for MATLAB Functions in Stateflow Charts

Choose whether the MATLAB® function is inlined in generated Structured Text code or appears as a reusable function.

Featured Examples