Information about Dashboard block variable and parameter connections
Use a Simulink.HMI.ParamSourceInfo
object to connect a Dashboard
block to a variable or parameter programmatically using the set_param
function. The get_param
function returns a Simulink.HMI.ParamSourceInfo
object when you use the function to query the connection information for a Dashboard block
connected to a variable or parameter.
The Simulink.HMI.ParamSourceInfo
object contains four properties. Some of
the properties apply to connecting Dashboard blocks to parameters, and some apply for
connecting Dashboard blocks to variables. Not all fields have a value for a connection because
a given Dashboard block connects to either a parameter or a variable.
creates the empty paramSourceInfo
= Simulink.HMI.ParamSourceInfoSimulink.HMI.ParamSourceInfo
object,
paramSourceInfo
.
Check Box | Combo Box | Edit | Knob | Push Button | Radio Button | Rocker Switch | Rotary Switch | Simulink.HMI.SignalSpecification
| Slider | Slider Switch | Toggle Switch