ssWriteRTWMx2dMatParam
Write a matrix parameter in MATLAB format to the
filemodel.rtw
Syntax
int_T ssWriteRTWMx2dMatParam(SimStruct *S, const char_T *name, const void *rValue, const void *cValue, int_T dataType, int_T nRows, int_T nCols)
Arguments
SSimStruct that represents an S-Function block.
nameParameter name.
rValueReal elements of the parameter array.
cValueImaginary elements of the parameter array.
dataTypeData type of the parameter elements (see Specifying Data Type Info).
nRowsNumber of rows in the matrix.
nColsNumber of columns in the matrix.
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 a matrix parameter in
MATLAB® format to this S-function's
file.model.rtw
Languages
C, C++
See Also
Version History
Introduced before R2006a