Write a vector parameter to the
filemodel
.rtw
int_T ssWriteRTWVectParam(SimStruct *S, const char_T *name, const void *value, int_T dataType, int_T size)
S
SimStruct representing an S-Function block.
name
Parameter name.
value
Parameter values.
dataType
Data type of the parameter elements (see Specifying Data Type Info). This function does not support
a parameter with data type as struct
or
BusObject
.
size
Number of elements in the vector.
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 a vector parameter in
Simulink® format to this S-function's
file.model
.rtw
C, C++