setFunction
モデル関数のコーダー マッピング情報を設定する
説明
setFunction( は、指定されたモデル関数のコード マッピング情報を設定します。この関数を使用して、モデル関数の関数カスタマイズ テンプレート、メモリ セクション、または関数名を設定します。シングルタスクの周期関数および Simulink® 関数については、この関数を使用して引数名、型修飾子、引数の順序などの引数仕様を設定できます。 coderMapObj,funcID,Name=Value)
例
入力引数
名前と値の引数
バージョン履歴
R2020b で導入
参考
coder.mapping.api.CodeMapping | coder.mapping.api.get | getFunction | getFunctionDefault | setFunctionDefault
トピック
- Programmatically Customize C Functions Generated from Global Simulink Functions
- Programmatically Customize C Functions Generated from Scoped Simulink Functions Located in Top Model
- Programmatically Customize Generated Entry-Point C Function Names
- Programmatically Customize Arguments of Step C Function Generated from Single Tasking Model
- Programmatically Customize Generated Entry-Point C Function Arguments for Component Models
- 個々の C エントリポイント関数に対する名前の設定
- 個々のステップ関数に対する名前と引数の設定
- Configure Default C Code Generation for Categories of Data Elements and Functions
- C Data Code Interface Configuration for Model Interface Elements
- Configure Timer Service Interfaces
- スケジュール エディター API による、モデルのランダムなスケジュールの作成と解析