getFunction
モデル関数に対するコード マッピングからのコード構成の取得
説明
は指定されたモデル関数に対するプロパティの値を返します。この関数を使用して、モデル関数に対して構成された関数カスタマイズ テンプレートまたはメモリ セクションを返します。以前に引数仕様を設定したシングルタスクの周期関数と Simulink 関数については、この関数を使用して引数仕様を返します。propertyValue
= getFunction(myCodeMappingObj
,function
,property
)
例
入力引数
出力引数
バージョン履歴
R2020b で導入
参考
coder.mapping.api.CodeMapping
| coder.mapping.api.get
| getFunctionDefault
(Embedded Coder) | setFunction
| setFunctionDefault
トピック
- 個々の C エントリポイント関数に対する名前の設定 (Embedded Coder)
- 個々のステップ関数に対する名前と引数の設定 (Embedded Coder)
- Configure Default C Code Generation for Categories of Data Elements and Functions (Embedded Coder)
- モデル インターフェイス要素の C コード生成の構成 (Embedded Coder)
- Configure Timer Service Interfaces for Aperiodic Export Functions (Embedded Coder)