Simulink.Simulation.BlockParameter Class
Namespace: Simulink.Simulation
Description
The Simulink.Simulation.BlockParameter
object specifies the block
parameter, path of the block, and the value of the block parameter used by the
Simulink.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 the setBlockParameter
method on the
Simulink.SimulationInput
object to add a block parameter to the
Simulink.SimulationInput
object.
Creation
bp = Simulink.Simulation.BlockParameter('
creates a
BlockPath
',
'Name
', 'Value
')Simulink.Simulation.BlockParameter
object, bp
, that
specifies the block parameter, Name
, with a Value
on its
path, BlockPath
.
Properties
Version History
Introduced in R2020a