Writing S-Functions | ![]() ![]() |
Write a vector parameter to the model.rtw
file.
Syntax
int_T ssWriteRTWVectParam(SimStruct *S, const char_T *name, const void *value, int_T dataType, int_T size)
Arguments
S
SimStruct representing an S-Function block.
dataType
Data type of the parameter elements (see Specifying Data Type Info).
size
Number of elements in the vector.
Description
Use this function in mdlRTW
to write a vector parameter in Simulink format to this S-function's model.rtw
file. This function returns true if successful.
Languages
See Also
mdlRTW, ssWriteRTWMxVectParam
![]() | ssWriteRTWStrVectParam | ssWriteRTWWorkVect | ![]() |