| Contents | Index |
void ssUpdateRunTimeParamInfo(SimStruct *S, int_T param, ssParamRec *info)
SimStruct representing an S-Function block.
Index of a run-time parameter.
Attributes of the run-time parameter.
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 modify the parameter's attributes record and update the run-time parameter, using this macro.
Note If you used ssRegAllTunableParamsAsRunTimeParams to create the run-time parameters, use ssUpdateAllTunableParamsAsRunTimeParams to update the parameters. |
C, C++
mdlProcessParameters, ssGetRunTimeParamInfo, ssUpdateAllTunableParamsAsRunTimeParams, ssRegAllTunableParamsAsRunTimeParams

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.
| © 1984-2012- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |