Technical data
A
model.rtw
A-14
Direction
Direction of zero-crossing: Falling, Any, Rising.
}
ZCEvents
Specified as [N,I], where N is the number of zero-crossing events
and
I is the index into the zcEvents vector.
ZCEvent {
One record for each zero-crossing event.
Type
Type of zero-crossing: DiscontinuityAtZC, ContinuityAtZC,
TriggeredDisconAtZC.
Direction
Direction of zero-crossing: Falling, Any, Rising.
}
RollRegions
RollRegions
is the contiguous regions defined by the inputs and
“block width.” Block width is the overall width of a block after
scalar expansion.
RollRegions is provided for use by the %roll
construct.
RollRegions1
This is equivalent to RollRegions shifted left by 1. It is present
for the blocks that collapse a vector to a scalar such as the vector
Sum, Product, and MinMax blocks.
NumDataInputPorts
Number of data input ports. Only written if nonzero.
DataInputPort {
One record for each data input port.
Width
Length of the signal entering this input port.
SignalSrc
A vector of length Width where each element specifies the source
signal. This is an index into the block I/O vector (
Bi), an index
into the state vector (
Xi), an index into the external input vector
(
Ui), or unconnected ground (G0).
}
NumControlPorts
Number of control (e.g., trigger or enable) input ports. Only
written if nonzero.
Table A-2: Model.rtw File Contents — System Record (Continued)
Variable/Record Name Description