Technical data
Coding Conventions
3-11
Table 3-4: TLC Global Variables Specifying RTW Global Variables
Description TLC Global Variable Default Value
Block I/O
tBlockIO rtB
Block Signal Information
tModelBlockInfo rtModelBlockInfo
Control Port Index
tControlPortIdx controlPortIdx
Data Store Memory
tParameters rtP
External Inputs
tInput rtU
External Outputs
tOutput rtY
Ground (Unconnected block
input)
tGROUND rtGROUND
Infinity
tInf rtInf
Integer-Work
tRWork rtRWork
Minus Infinity
tMinusInf rtMinusInf
Mode Vector
tPWork rtPWork
Not a Number
tNan rtNan
Pointer-Work
tIWork rtIWork
Previous Zero-crossing State
tPrevZCSigState rtPrevZCSigState
Real-Work
tChildSimStruct rts
Root SimStruct
tDataStores rtDSM
S-Function SimStruct
tSimStruct rtS
States
tState rtX
Task Identifier
tTID tid