createSimulationInput
Syntax
inputObj = createSimulationInput(testCase,model)
inputObj = createSimulationInput(testCase,model,'WithHarness',harness)
Description
creates a inputObj
= createSimulationInput(testCase
,model
)Simulink.SimulationInput
or
sltest.harness.SimulationInput
object for the specified
testCase
and model
. The created input object can
include inputs to the model, model parameters, and external input data assigned using the
model configuration. If the model is not loaded, createSimulationInput
uses
testCase.loadSystem
to load the model when you simulate it.
creates an inputObj
= createSimulationInput(testCase
,model
,'WithHarness',harness
)sltest.harness.SimulationInput
object for the specified test
harness.
Input Arguments
Output Arguments
Examples
Version History
Introduced in R2021a