Writing S-Functions Previous page   Next Page
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


Previous page  ssSetDWorkRTWStorageClass ssSetDWorkUsedAsDState Next page

© 1994-2005 The MathWorks, Inc.