Variant Signal Dimensions
You can use symbolic dimensions to simulate various 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.
- 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
This example shows how to generate a C code that contains all the active and inactive values of variant parameters.