Writing S-Functions    
ssWriteRTWWorkVect

Write work vectors to model.rtw file.

Syntax

Arguments
S
   SimStruct representing an S-function block.

vectName
   Name of work vector (must be "RWork", "IWork" or "PWork")

settingType
   Type of parameter (see Parameter Setting Type-Specific Arguments)

name1 ... nameN
   Names of groups of work vector elements

size1 ... sizeN
   Size of each element group (the total of the sizes must equal the size of the work vector

Description

Use this function in mdlRTW to write work vectors to this S-function's model.rtw file. This function returns TRUE if successful.

Languages

C

See Also
mdlRTW


 ssWriteRTWVectParam ssWriteRTW2dMatParam