Writing S-Functions    
ssUpdateRunTimeParamInfo

Update the attributes of a run-time parameter.

Syntax

Arguments

S
   SimStruct representing an S-Function block.

param
   Index of a run-time parameter.

info
   Attributes of the run-time parameter.

Description

Use this macro in the S-function's mdlProcessParameters method to update specific run-time parameters. For each parameter to be updated, the method should first obtain a pointer to the parameter's attributes record (ssParamRec), using ssGetRunTimeParamInfo. The method should then update the record and pass it back to Simulink, using this macro.

Languages

C

See Also

mdlProcessParameters, ssGetRunTimeParamInfo, ssUpdateAllTunableParamsAsRunTimeParams, ssRegAllTunableParamsAsRunTimeParams


  ssUpdateDlgParamAsRunTimeParam ssWarning