Writing S-Functions | ![]() ![]() |
Specify the name of a data type work vector.
Syntax
void
ssSetDWorkName(SimStruct *S, int_T vector, char_T *name)
Arguments
S
SimStruct representing an S-function block.
0
, 1
, 2
, ...
ssGetNumDWork(S)
name
Description
Use in mdlInitializeSizes
or in mdlSetWorkWidths
to specify a name for the specified data type work vector. The Real-Time Workshop uses this name to label the work vector in generated code. If you do not specify a name, the Real-Time Workshop generates a name for the work vector.
Languages
See Also
ssGetDWorkName, ssSetNumDWork
![]() | ssSetDWorkDataType | ssSetDWorkUsedAsDState | ![]() |