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++

Was this topic helpful?