バリアントの信号の次元
モデルの信号次元のバリエーションに対応するコードを生成および管理する
シンボリック次元を使用して、セットごとにコードを再生成することなく、さまざまな次元の選択肢セットをシミュレートします。これらのシンボルはシミュレーション中にモデル全体に伝播し、生成されたコードに入ります。
トピック
- Implement Symbolic Dimensions for Array Sizes in Generated Code
Specify dimension information as symbols in blocks and data objects. These symbols propagate throughout the model during simulation and then go into the generated code.
- Configure Symbolic Dimensions for S-Function Blocks
Configure S-functions to support forward propagation, backward propagation, or forward and backward propagation of symbolic dimensions during simulation.
- Generate Code for Variant Subsystem with Child Subsystems of Different Output Signal Dimensions
This example shows how to use symbolic dimensions to generate code for a variant subsystem consisting of child subsystems of different output signal dimensions.