setModelParameter
SimulationInput
オブジェクト in
によって、特定のシミュレーションに使用するモデル パラメーターを設定
説明
in = in.setModelParameter(
は、モデル パラメーター 'ParameterName', 'Value', … 'ParameterNameN', 'ValueN'
)Name
を Value
とともに設定します。同じ SimulationInput
オブジェクトを使用して、複数のモデル パラメーターをモデルに追加できます。
getModelParameter('ParameterName')
メソッドを使用すると、モデル パラメーターの値を取得でき、removeModelParameter('ParameterName')
メソッドを使用すると、Simulink.SimulationInput
オブジェクトからモデル パラメーターを削除できます。