Main Content
ssUpdateAllTunableParamsAsRunTimeParams
Update the values of run-time parameters to be the same as those of the corresponding tunable dialog parameters
Syntax
void ssUpdateAllTunableParamsAsRunTimeParams(SimStruct *S)
Arguments
S
SimStruct that represents an S-Function block.
Description
Use this macro in the S-function's mdlProcessParameters
method
to update the values of all run-time parameters created by the
ssRegAllTunableParamsAsRunTimeParams
macro.
Languages
C, C++
Examples
See the S-function sfun_runtime1.c
used in sfcndemo_runtime
.
Version History
Introduced before R2006a