更新与对话框参数相对应的运行时参数
void ssUpdateDlgParamAsRunTimeParam(SimStruct *S, int_T rtIdx)
年代
表示s -功能块的SimStruct。
rtIdx
运行时参数的索引。
用在mdlProcessParameters
指定的运行时参数的值rtIdx
更改为对应对话框参数的当前值。使用ssRegDlgParamAsRunTimeParam
将对话框参数与运行时参数关联。如果有必要,ssUpdateDlgParamAsRunTimeParam
将对话框参数值的数据类型转换为指定的数据类型dtId
中指定的数据类型IDssRegDlgParamAsRunTimeParam
.
C, c++
看到这个功能sfun_runtime3.c
中使用的sfcndemo_runtime
.