Simulink.Simulation.BlockParameter class
Package:Simulink.Simulation
Block parameters inSimulink.SimulationInput
objects
Description
TheSimulink.Simulation.BlockParameter
object specifies the block parameter, path of the block, and the value of the block parameter used by theSimulink.SimulationInput
object during simulation.
In most cases, there is no need to create an object of this class directly. It is recommended that you use thesetBlockParameter
method on theSimulink.SimulationInput
object to add a block parameter to theSimulink.SimulationInput
object.
Creation
bp = Simulink.Simulation.BlockParameter('
creates aBlockPath
', 'Name
', 'Value
')Simulink.Simulation.BlockParameter
object,bp
, that specifies the block parameter,Name
, with aValue
on it's path,BlockPath
.