Writing S-Functions | ![]() ![]() |
Write a matrix parameter to the model.rtw
file.
Syntax
int_T ssWriteRTW2dMatParam(SimStruct *S, const char_T *name, const void *value, int_T dataType, int_T nRows, int_T nCols)
Arguments
S
SimStruct representing an S-Function block.
dataType
Data type of parameter elements (see Specifying Data Type Info).
nRows
Number of rows in the matrix.
nColumns
Number of columns in the matrix.
Description
Use this function in mdlRTW
to write a vector of numeric parameters to this S-function's model.rtw
file. This function returns true if successful.
Languages
See Also
mdlRTW
![]() | ssWarning | ssWriteRTWMx2dMatParam | ![]() |