| Writing S-Functions | ![]() |
Specify the name of a data type work vector.
Syntax
Arguments
S
SimStruct representing an S-Function block.
vector
Index of the work vector, where the index is one of 0, 1, 2, ... ssGetNumDWork(S).
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 | ssSetDWorkRTWIdentifier | ![]() |