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 parameter array

iValue
   Imaginary elements of parameter array

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

nRows
   Number of rows in matrix

nColumns
   Number of columns in 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


 ssWriteRTWMxVectParam ssWriteRTWParameters