Write a character vector parameter to the
filemodel
.rtw
int_T ssWriteRTWStrParam(SimStruct *S, const char_T *name, const char_T *value)
S
SimStruct representing an S-Function block.
name
Parameter name.
value
Parameter value.
An int_T
(1
or 0
) or
boolean_T
(true
or
false
) indicating the success or failure of the
function.
Use this function in mdlRTW
to write character vector
parameters to this S-function's
file. This function
returns model
.rtw1
(true
) if successful. The output of
this macro can also be correctly assigned to boolean_T
.
C, C++