Variant Signal Dimensions
You can use symbolic dimensions to simulate sets of dimension alternatives of a signal without modifying the model for every set. Each dimension choice is represented using a symbol. When you build the model, the generated code contains symbols corresponding to variant dimensions of the signal.
Topics
- Use Symbolic Dimensions for Signal Dimensions (Embedded Coder)
Specify dimension information using symbols and incorporate them into the generated code.
- Generate Code for Variant Subsystem with Child Subsystems of Different Output Signal Dimensions (Embedded Coder)
This example shows how to use symbolic dimensions to generate code for a variant subsystem consisting of child subsystems of different output signal dimensions.
- Compile Code Conditionally for All Values of Variant Parameters with Same and Different Dimensions (Simulink Coder)
This example shows how to generate a C code that contains all the active and inactive values of variant parameters.