ssSetDWorkRTWTypeQualifier
Specify the C type qualifier (e.g., const) used to
                declare a DWork vector in code generated from the associated S-function
Syntax
char_T *ssSetDWorkRTWTypeQualifier(SimStruct *S, int_T vector, char_T *tq)
Arguments
- S
- SimStruct that represents an S-Function block. 
- vector
- Index of the work vector, where the index is one of - 0,- 1,- 2,- ...- ssGetNumDWork(S)-1.
- tq
- Type qualifier. 
Returns
The C type qualifier entered in tq.
Description
Sets tq as the C type qualifier (e.g.,
                const) used to declare the DWork vector specified by
                    vector in code generated by the Simulink®
            Coder™ product from the associated S-function. For more information on using
                DWork vectors, see How to Use DWork Vectors.
Languages
C, C++
Examples
See the S-function sfun_rtwdwork.c used in sfcndemo_sfun_rtwdwork.
See Also
Version History
Introduced before R2006a