sltest.harness.SimulationInput Class
Namespace: sltest.harness
Description
Use objects of the sltest.harness.SimulationInput
class to specify the
inputs and changes to apply to a test harness model and run simulations with those changes.
These objects are types of Simulink.SimulationInput
objects that are
specific to test harness models. The SimulationInput
object can include inputs
to the model, initial state, model parameters, block parameters, external inputs, and
variables. After simulation, the harness is restored to its state before simulation. The
sltest.harness.SimulationInput
object is used with MATLAB®-based Simulink® tests. sltest.harness.SimulationInput
is a subclass of Simulink.SimulationInput
.
The sltest.harness.SimulationInput
class is a handle
class.
Class Attributes
Sealed | true |
RestrictsSubclassing | true |
For information on class attributes, see Class Attributes.
Creation
Description
in = sltest.harness.SimulationInput(
creates and returns a owner
,name
)SimulationInput
object and sets the HarnessOwner
property to owner
and the HarnessName
property to name
.
Alternatively, use the createSimulationInput
method of sltest.TestCase
to create a sltest.harness.SimulationInput
object.
Properties
Methods
Examples
Version History
Introduced in R2020b