| Writing S-Functions | ![]() |
Specify the width of a data type work vector.
Syntax
void ssSetDWorkWidth(SimStruct *S, int_T vector, int_T width)
Arguments
S
SimStruct representing an S-function block.
0, 1, 2, ... ssGetNumDWork(S)
width
Description
Use in mdlInitializeSizes or in mdlSetWorkWidths to set the number of elements in the specified data type work vector.
Languages
See Also
ssGetDWorkWidth, ssSetDWorkDataType, ssSetNumDWork
| ssSetDWorkUsedAsDState | ssSetErrorStatus | ![]() |