| Contents | Index |
void ssUpdateDlgParamAsRunTimeParam(SimStruct *S, int_T rtIdx)
Use in mdlProcessParameters to set the value of the run-time parameter specified by rtIdx to the current value of its corresponding dialog parameter. Use ssRegDlgParamAsRunTimeParam to associate a dialog parameter with a run-time parameter. If necessary, ssUpdateDlgParamAsRunTimeParam converts the data type of the dialog parameter value to the data type specified by dtId, the data type ID specified in ssRegDlgParamAsRunTimeParam.
C, C++
See the S-function sfun_runtime3.c used in sfcndemo_runtime.mdl.
ssUpdateAllTunableParamsAsRunTimeParams, ssRegDlgParamAsRunTimeParam

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 |