Skip to Main Content Skip to Search
Product Documentation

ssGetDWorkWidth - Get the size of a data type work vector

Syntax

int_T ssGetDWorkWidth(SimStruct *S, int_T vector)

Arguments

S

SimStruct representing an S-Function block.

vector

Index of a work vector, where the index is one of 0, 1, 2, ... ssGetNumDWork(S)-1.

Returns

The int_T number of elements in the DWork vector specified by the index vector.

Description

Use to obtain the size of a particular DWork vector.

Languages

C, C++

Example

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

See Also

ssSetDWorkWidth

  


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