Skip to Main Content Skip to Search
Product Documentation

ssUpdateAllTunableParamsAsRunTimeParams - Update the values of run-time parameters to be the same as those of the corresponding tunable dialog parameters

Syntax

void ssUpdateAllTunableParamsAsRunTimeParams(SimStruct *S)

Arguments

S

SimStruct representing an S-Function block.

Description

Use this macro in the S-function's mdlProcessParameters method to update the values of all run-time parameters created by the ssRegAllTunableParamsAsRunTimeParams macro.

Languages

C, C++

Example

See the S-function sfun_runtime1.c used in sfcndemo_runtime.mdl.

See Also

mdlProcessParameters, ssUpdateRunTimeParamInfo, ssRegAllTunableParamsAsRunTimeParams

  


Related Products & Applications

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