Writing S-Functions    
ssGetDWorkRTWTypeQualifier

Get 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).

Description

Returns 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
ssSetDWorkRTWTypeQualifier


  ssGetDWorkRTWStorageClass ssGetDWorkUsedAsDState