Main Content

ssWriteRTW2dMatParam

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 that represents an S-Function block.

name

Parameter name.

value

Parameter values.

dataType

Data type of parameter elements (see Specifying Data Type Info).

nRows

Number of rows in the matrix.

nCols

Number 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 numeric matrix parameter to this S-function's model.rtw file.

Languages

C, C++

See Also

mdlRTW

Version History

Introduced before R2006a