Technical data

model.rtw
A-13
FundamentalTID
Only written for multirate or hybrid enabled subsystems. This
gives the sample time as the greatest common divisor of all
sample times in the system.
SampleTimeIdx
Actual sample time of block. Only written for zero order hold and
unit delay blocks.
IllegalMTaskTrans
yes
if there is a sample time transition that would cause
multitasking problems.
no if transition is fine. "No-RatesEqual"
if there is a continuous to discrete or discrete to continuous, but
the rates are equal.
AlgebraicLoopId
This ID identifies the loop this block is in. If this field is not
present, the ID is 0 and the block is not part of an algebraic loop.
ContStates
Specified as [N,I] where N is number of continuous states and I
is the index into the
state vector, X. Not present if N==0.
DiscStates
Specified as [N,I] where N is number of discrete states and I is
the index into the
state vector, X. Not present if N==0.
RWork
Specified as [N,I] where N is the number of real-work elements
and
I is the index into rwork. Not present if N==0.
IWork
Specified as [N,I] where N is the number of integer-work
elements and
I is the index into iwork. Not present if N==0.
PWork
Specified as [N,I] where N is the number of pointer-work
elements and
I is the index into pwork. Not present if N==0.
ModeVector
Specified as [N,I] where N is the number of modes and I is the
index into
modeVect. Not present if N==0.
NonsampledZCs
Specified as [N,I], where N is the number of nonsampled
zero-crossings and
I is the index into the nonsampledZCs and
nonsampledZCdirs vectors.
NonsampledZC {
One record for each nonsampled zero-crossing.
Index
Index of the block’s zero-crossing.
Table A-2: Model.rtw File Contents — System Record (Continued)
Variable/Record Name Description