Writing S-Functions    
ssSetDWorkRTWIdentifier

Specify the identifier 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).

id
   Identifier

Description

Specifies id as the identifier used in code generated by the Real-Time Workshop to declare the DWork vector specified by idx.

Languages

C, C++

See Also
ssSetDWorkRTWIdentifier


  ssSetDWorkName ssSetDWorkRTWStorageClass