Skip to Main Content Skip to Search
Product Documentation

ssSetDWorkUsageType - Specify how DWork vector is used in S-function

Syntax

ssDWorkUsageType ssSetDWorkUsageType(SimStruct *S, int_T vector,
 ssDWorkUsageType type)

Arguments

S

SimStruct representing an S-Function block.

vector

Index of the data type work vector.

type

Usage type of the DWork vector.

Returns

The usage type entered in type.

Description

Use this function in mdlInitializeSizes to set the usage type for the DWork vector specified by vector. Permissible values are:

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

Languages

C, C++

Examples

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

See Also

ssGetDWorkUsageType

  


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