Writing S-Functions    
ssSetDWorkRTWTypeQualifier

Specify the C type qualifier (e.g., const) used to declare a DWork vector in code generated from the associated S-function.

Syntax

Arguments

S
   SimStruct representing an S-Function block.

idx
   Index of the work vector, where the index is one of 0, 1, 2, ... ssGetNumDWork(S).

tq
   type qualifier

Description

Sets tq as the C type qualifier (e.g., const) used to declare the DWork vector specified by idx in code generated by the Real-Time Workshop from the associated S-function.

Languages

C, C++

See Also
ssGetDWorkRTWTypeQualifier


  ssSetDWorkRTWStorageClass ssSetDWorkUsedAsDState