ssUpdateRunTimeParamData
Update the value of a run-time parameter
Syntax
void ssUpdateRunTimeParamData(SimStruct *S, int_T param, void *data)
Arguments
SSimStruct that represents an S-Function block.
paramIndex of the run-time parameter.
dataNew value of the parameter.
Description
Use this macro in the S-function's mdlProcessParameters method
to update the value of the run-time parameter specified by
param.
Languages
C, C++
Examples
See the S-functions sfun_runtime2.c and sfun_runtime4.c, both used in sfcndemo_runtime.
See Also
mdlProcessParameters, ssGetRunTimeParamInfo, ssUpdateAllTunableParamsAsRunTimeParams, ssRegAllTunableParamsAsRunTimeParams
Version History
Introduced before R2006a