Technical data

A
model.rtw
A-6
PeriodAndOffset
Period and offset for this sample time.
}
RootSignals {
Signal and block information in the root “window.”
NumSignals
Number of block output signals (including virtual) blocks.
Signal {
One record for each signal.
Block
[sysIdx, blockIdx]
or block name string if a virtual block.
SigLabel
Signal label if present.
OutputPort
[outputPortIndex, outputPortWidth]
.
SignalSrc
Vector of length outputPortWith giving the location of the signal
source.
}
NumBlocks
Number of nonvirtual blocks in the root window of your model.
BlockSysIdx
System index for blocks in this subsystem.
BlockMap
Vector of length NumBlocks giving the blockIdx for each
nonvirtual block in the subsystem.
}
NumVirtualSubsystems
Total number of virtual subsystems in the model.
NumNonvirtalSubsystems
Total number of nonvirtual subsystems in the model.
Subsystem {
One record for each subsystem.
SysId
System identifier. Each subsystem in the model is given a unique
identifier of the form
S# (e.g., S3).
Name
Block name preceded with a <root> or <S#> token. The ID/Name
values define an associative pair giving a mapping to the block
full path block.
Table A-1: Model.rtw File Contents (Continued)
Variable/Record Name Description