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.

ssUpdateRunTimeParamData

Update the value of a run-time parameter

Syntax

void ssUpdateRunTimeParamData(SimStruct *S, int_T param, void *data)

Arguments

S

SimStruct representing an S-Function block.

param

Index of the run-time parameter.

data

New value of the parameter.

Description

Use this macro in the S-function's mdlProcessParameters method to update the value of the run-time parameter specified by param.

Languages

C, C++

Example

See the S-functions sfun_runtime2.c and sfun_runtime4.c, both used in sfcndemo_runtime.

Introduced before R2006a

Was this topic helpful?