| Contents | Index |
char_T *ssSetDWorkRTWIdentifier(SimStruct *S, int_T vector, char_T *id)
SimStruct representing an S-Function block.
Index of the work vector, where the index is one of 0, 1, 2, ... ssGetNumDWork(S)-1.
DWork vector Identifier.
A pointer (char_T *) to the Simulink Coder identifier entered in id.
Specifies id as the identifier used in code generated by the Simulink Coder product to declare the DWork vector specified by vector. For more information on using DWork vectors, see Using Work Vectors.
This function must only be called from the mdlInitializeSizes or mdlSetWorkWidths functions.
C, C++
See the S-function sfun_rtwdwork.c used in sfcndemo_sfun_rtwdwork.mdl.

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.
| © 1984-2012- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |