Writing S-Functions    
ssSetDWorkComplexSignal

Specify whether the elements of a data type work vector are real or complex.

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).

numType
   Numeric type, either COMPLEX_YES or COMPLEX_NO.

Description

Use in mdlInitializeSizes or mdlSetWorkWidths to specify whether the values of the specified work vector are complex numbers (COMPLEX_YES) or real numbers (COMPLEX_NO, the default).

Languages

C, C++

See Also
ssSetDWorkDataType, ssGetNumDWork


  ssSetDataTypeZero ssSetDWorkDataType