setModelParameter
Set model parameters to be used for a specific simulation throughSimulationInput
object,in
Description
in = in.setModelParameter(
sets a model parameter'ParameterName', 'Value', … 'ParameterNameN', 'ValueN'
)Name
with aValue
. You can add multiple model parameters to the model using the sameSimulationInput
object.
You can usegetModelParameter('ParameterName')
method to get the value of model parameter and theremoveModelParameter('ParameterName')
method to remove model parameter from theSimulink.SimulationInput
object.