主要内容

ssUpdateAllTunableParamsAsRunTimeParams

更新运行时参数的值,使其与相应的可调对话框参数的值相同

语法

ssUpdateAllTunableParamsAsRunTimeParams

参数

年代

SimStruct表示一个S-Function块。

描述

在s函数中使用这个宏mdlProcessParameters方法创建的所有运行时参数的值ssRegAllTunableParamsAsRunTimeParams宏。

语言

C, c++

例子

请看s函数sfun_runtime1.c中使用的sfcndemo_runtime

版本历史

R2006a之前介绍