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.

ssUpdateRunTimeParamInfo

Update the attributes of a run-time parameter

Syntax

void ssUpdateRunTimeParamInfo(SimStruct *S, int_T param,
   ssParamRec *info)

Arguments

S

SimStruct representing an S-Function block.

param

Index of a run-time parameter.

info

Attributes of the run-time parameter.

Description

Use this macro in the S-function's mdlProcessParameters method to update specific run-time parameters. For each parameter to be updated, the method should first obtain a pointer to the parameter's attributes record (ssParamRec), using ssGetRunTimeParamInfo. The method should then modify the parameter's attributes record and update the run-time parameter, using this macro.

    Note   If you used ssRegAllTunableParamsAsRunTimeParams to create the run-time parameters, use ssUpdateAllTunableParamsAsRunTimeParams to update the parameters.

Languages

C, C++

Introduced before R2006a

Was this topic helpful?