ssSetNumDWork

Syntax

Arguments

S

SimStruct representing an S-Function block.

nDWork

Number of data type work vectors.

Returns

The Boolean value true if nDWork is
zero or a positive integer; otherwise, false.

Description

Use in mdlInitializeSizes to specify the
number of data type work vectors as 0, a positive integer, or DYNAMICALLY_SIZED.
If you specify DYNAMICALLY_SIZED, you can specify
the true (positive integer) number of vectors in mdlSetWorkWidths.