Main Content

ssGetNumIWork

Get the size of a block's integer work vector

Syntax

int_T ssGetNumIWork(SimStruct *S)

Arguments

S

SimStruct that represents an S-Function block.

Returns

An int_T value indicating the size of the IWork vector.

Description

Use this macro in any routine except mdlInitializeSizes to obtain the size of the integer (int_T) work vector used by the block represented by S.

Languages

C, C++

Version History

Introduced before R2006a