Writing S-Functions | ![]() ![]() |
Update a run-time parameter that corresponds to a dialog parameter.
Syntax
Arguments
S
SimStruct representing an S-Function block or a Simulink model.
rtIdx
Index of the run-time parameter
Description
Use in mdlProcessParameters
to set the value of the run-time parameter specified by rtIdx to the current value of the dialog parameter specified by dlgIdx
. If necessary, this function converts the data type of the value to the data type specified by dtId
.
Languages
See Also
ssUpdateAllTunableParamsAsRunTimeParams
![]() | ssUpdateRunTimeParamData | ssUpdateRunTimeParamInfo | ![]() |