Technical data

model.rtw
A-9
Identifier
Unique variable name across all block outputs.
SigSrc
[systemIndex, blockIndex, outputPortIndex]
.
SigIdx
[blockIOVectorIndex, signalWidth]
.
SigConnected
Vector of length signalWith where each element is either a 1 or 0
indicating whether or not the corresponding output signal is
connected.
SigLabel
Signal label entered by user.
TestPoint
yes
/no. Has this signal been marked as a test point in the block
diagram?
Required
yes
/no. Is this signal required to be in the block I/O structure
(i.e., the signal is needed across function boundaries)?
}
}
BlockOutputsMap
Matrix of dimension (NumBlockSignals,2), which gives a
mapping from a block I/O vector index (
Bi) into the BlockOutputs
structure:
[blockOutputsIndex, signalOffset]. Only written if
NumBlockSignals > 0.
StatesMap
Matrix of dimension (NumContStates,3), which gives a mapping
from a continuous or discrete state vector index (
Xi) to a block:
[systemIndex, blockIndex, stateOffset]. If stateOffset is
less than
ContStates[0], then Xi maps to the continuous state at
stateOffset in the block, otherwise Xi maps to the discrete state
at
stateOffset–ContStates[0] in the block. Only written if
NumContStates+NumDiscStates > 0.
BlockDefaults {
Record for default values of block variables that aren’t explicitly
written in the block records. The block records only contain
nondefault values for the following variables.
IllegalMTaskTrans no
Table A-1: Model.rtw File Contents (Continued)
Variable/Record Name Description