Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

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.

Introduced before R2006a

Was this topic helpful?