Writing S-Functions    
ssSetDWorkDataType

Specify the data type of a data type work vector.

Syntax

Arguments

S
   SimStruct representing an S-Function block.

vector
   Index of a data type work vector, where the index is one of 0, 1, 2, ... ssGetNumDWork(S).

dtID
   ID of a data type.

Description

Use in mdlInitializeSizes or mdlSetWorkWidths to set the data type of the specified work vector.

Languages

C, C++

See Also
ssSetDWorkWidth, ssGetNumDWork


  ssSetDWorkComplexSignal ssSetDWorkName