setModelParameter
Specify parameter values for simulation configured using
Simulink.SimulationInput
object
Description
simIn = setModelParameter(
sets configuration parameter values on the simIn
,Name,Value
)Simulink.SimulationInput
object simIn
according to one or more name-value
arguments.
You can use the setModelParameter
function to configure the
value for any model configuration parameter on a
Simulink.SimulationInput
object by passing the parameter name
and value as a name-value argument.
Use getModelParameter('ParameterName')
to get the value of a
configuration parameter. Use
removeModelParameter('ParameterName')
to remove a
configuration parameter from the Simulink.SimulationInput
object.
Examples
Input Arguments
Output Arguments
Version History
Introduced in R2017a