ssWriteRTWScalarParam
Write a scalar parameter to the
filemodel.rtw
Syntax
int_T ssWriteRTWScalarParam(SimStruct *S, const char_T *name, const void *value, int_T type)
Arguments
SSimStruct that represents an S-Function block.
nameParameter name.
valueParameter value.
typeInteger ID of the type of the parameter value, for example, the ID of one of the Simulink® built-in data types. For a list of built-in data types, see ssGetInputPortDataType or the ID of a user-defined type (see Configure Custom Data Types). This function does not support a parameter with data type as
structorBusObject.
Returns
An int_T (1 or 0) or
boolean_T (true or
false) indicating the success or failure of the
function.
Description
Use this function in mdlRTW to write scalar parameters to this
S-function's file.model.rtw
Languages
C, C++
See Also
Version History
Introduced before R2006a