Writing S-Functions | ![]() ![]() |
Determine whether the elements of a data type work vector are real or complex numbers.
Syntax
CSignal_T
ssGetDWorkComplexSignal(SimStruct *S, int_T vector)
Arguments
S
SimStruct representing an S-function block.
0
, 1
, 2
, ...
ssGetNumDWork
(S)
Description
Returns COMPLEX_YES
if the specified vector contains complex numbers; otherwise, COMPLEX_NO
Languages
See Also
ssSetDWorkComplexSignal
![]() | ssGetDTypeIdFromMxArray | ssGetDWorkDataType | ![]() |