このページの内容は最新ではありません。最新版の英語を参照するには、ここをクリックします。
createSimulationInput
構文
inputObj = createSimulationInput(testCase,model)
inputObj = createSimulationInput(testCase,model,'WithHarness',harness)
説明
は、指定した inputObj
= createSimulationInput(testCase
,model
)testCase
および model
の Simulink.SimulationInput
オブジェクトまたは sltest.harness.SimulationInput
オブジェクトを作成します。作成された入力オブジェクトには、モデルへの入力、モデル パラメーター、およびモデル コンフィギュレーションを使用して割り当てられた外部入力データを含めることができます。モデルが読み込まれていない場合、createSimulationInput
は testCase.loadSystem
を使用して、モデルのシミュレーション時にモデルを読み込みます。
は、指定されたテスト ハーネスの inputObj
= createSimulationInput(testCase
,model
,'WithHarness',harness
)sltest.harness.SimulationInput
オブジェクトを作成します。
入力引数
出力引数
例
バージョン履歴
R2021a で導入