将矩阵参数写入
文件模型
.rtw
int_T ssWriteRTW2dMatParam(SimStruct *S, const char_T *name, const void *value, int_T dataType, int_T nRows, int_T ncolm)
年代
表示s -功能块的SimStruct。
的名字
参数名称。
价值
参数值。
数据类型
参数元素的数据类型(参见指定数据类型信息).
nRows
矩阵的行数。
nCols
矩阵的列数。
一个int_T
(1
或0
)或boolean_T
(真正的
或假
),指示该函数的成功或失败。
使用此函数mdlRTW
写一个数值矩阵参数到这个s函数
文件。模型
.rtw
C, c++