Writing S-Functions    
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


  ssWriteRTW2dMatParam ssWriteRTWMxVectParam