Package: Simulink.Simulation
Block parameters in Simulink.SimulationInput
objects
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.
bp = Simulink.Simulation.BlockParameter('
creates a
BlockPath
',
'Name
', 'Value
')Simulink.Simulation.BlockParameter
object, bp
, that
specifies the block parameter, Name
, with a Value
on
it's path, BlockPath
.
applyToModel
| loadVariablesFromMATFile
| parsim
| setExternalInput
| setInitialState
| setModelParameter
| setPostSimFcn
| setPreSimFcn
| setVariable
| Simulation
Manager
| Simulink.SimulationInput
| validate