このページの内容は最新ではありません。最新版の英語を参照するには、ここをクリックします。
setModelVariantControl
説明
setModelVariantControl(
configures the specified codeMappingObj
,variantControl
,Name=Value
)Simulink.VariantControl
object variantControl
in the code mappings codeMappingObj
for code generation. Specifying code generation attributes for a Simulink.VariantControl
object using code mappings is supported when the object is defined in the model workspace and its Value
property is set to a Simulink.Parameter
object. Use this function to map the specified variant control to the storage class and storage class property settings that the code generator uses to produce C
code.
例
入力引数
名前と値の引数
バージョン履歴
R2025a で導入