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

Was this topic helpful?