Writing S-Functions    
ssGetDWorkComplexSignal

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

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)

Description

Returns COMPLEX_YES if the specified vector contains complex numbers; otherwise, COMPLEX_NO

Languages

C, C++

See Also
ssSetDWorkComplexSignal


 ssGetDTypeIdFromMxArray ssGetDWorkDataType