Writing S-Functions    
ssWriteRTWMxVectParam

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

Syntax

Arguments

S
   SimStruct representing an S-Function block.

name
   Parameter name.

rValue
   Real values of the parameter.

cValue
   Complex values of the parameter.

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

size
   Number of elements in the vector.

Description

Use this function in mdlRTW to write a vector parameter in Simulink format to this S-function's model.rtw file. This function returns true if successful.

Languages

C

See Also
mdlRTW, ssWriteRTWMxVectParam


  ssWriteRTWMx2dMatParam ssWriteRTWParameters