Main Content
createSimulationInput
Syntax
inputObj = createSimulationInput(testCasemodel)
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
. If the model is not loaded,
createSimulationInput
uses testCase.loadSystem
to loads
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