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