setBlockParameter
Set block parameter values on
Simulink.SimulationInput
object
Description
simIn = setBlockParameter(
sets the block parameter value on the simIn
,blkPath
,blkParam
,paramVal
)Simulink.SimulationInput
object simIn
.
You can use the setBlockParameter
function to specify block
parameters for blocks throughout a model reference hierarchy. You can set multiple
block parameters on a Simulink.SimulationInput
object.
You can use getBlockParameter(blkPath,blkParam)
to get the
value of a block parameter and
removeBlockParameter(blkPath,blkParam)
to remove a block
parameter from the Simulink.SimulationInput
object.
Examples
Input Arguments
Output Arguments
Version History
Introduced in R2017a