Writing S-Functions Previous page   Next Page
ssWriteRTWMx2dMatParam

Write a matrix parameter in MATLAB format to the model.rtw file

Syntax

Arguments

S
   SimStruct representing an S-Function block.

name
   Parameter name.

rValue
   Real elements of the parameter array.

iValue
   Imaginary elements of the parameter array.

dataType
   Data type of the 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 matrix parameter in MATLAB format to this S-function's model.rtw file. This function returns true if successful.

Languages

C

See Also

mdlRTW, ssWriteRTW2dMatParam


Previous page  ssWriteRTW2dMatParam ssWriteRTWMxVectParam Next page

© 1994-2005 The MathWorks, Inc.