Set model parameters to be used for a specific
simulation through SimulationInput
object, in
in = in.setModelParameter(
sets a model parameter 'ParameterName', 'Value', … 'ParameterNameN', 'ValueN'
)Name
with a Value
.
You can add multiple model parameters to the model using the same SimulationInput
object.
You can use getModelParameter('ParameterName')
method to get
the value of model parameter and the
removeModelParameter('ParameterName')
method to remove model
parameter from the Simulink.SimulationInput
object
applyToModel
| loadVariablesFromMATFile
| parsim
| setBlockParameter
| setExternalInput
| setInitialState
| setPostSimFcn
| setPreSimFcn
| setVariable
| Simulation
Manager
| Simulink.SimulationInput
| validate