Skip to Main Content Skip to Search
Product Documentation

ssGetDWorkUsageType - Determine how DWork vector is used in S-function

Syntax

ssDWorkUsageType ssGetDWorkUsageType(SimStruct *S, int_T vector)

Arguments

S

SimStruct representing an S-Function block.

vector

Index of the data type work vector.

Returns

One of the enumerated types defined for ssDWorkUsageType in simstruc_types.h. Permissible values are:

Description

Use this macro to determine how the DWork vector specified by the vector is being used in the S-function. By default, a DWork vector returns SS_DWORK_USED_AS_DWORK.

Languages

C, C++

Example

For more information on using DWork vectors, see Using Work Vectors.

See Also

ssSetDWorkUsageType

  


Related Products & Applications

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.

 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS