Technical data

model.rtw
A-11
Model.rtw File Contents β€” System Record
In general, a model can consist of multiple systems. There is one system for the
root and one for each nonvirtual subsystem. Each descendent system of the root
system is written out using Pascal ordering (deepest first) to avoid forward ref-
erences. Within each system is a sorted list of blocks.
Table A-2: Model.rtw File Contents β€” System Record
Variable/Record Name Description
System {
One for each system in the model.
Type
root
,
enable
,
trigger
,
enable_with_trigger
, or
function-call
.
Tag
Only written if block has a non-empty Simuilnk β€œtag” property.
Name
Name of system.
SLName
Unmodified Simulink name. This is only written if it is
not
equal
to
Name
.
Identifier
Unique identifier across all blocks.
SubsystemBlockIdx
[systemIndex, blockIndex]
. Not present if
Type
is root.
InitializeFcn
Name of initialize function for enable systems that are configured
to reset states.
OutputFcn
Name of output function for
enable
systems.
UpdateFcn
Name of update function for
enable
systems.
DerivativeFcn
Name of derivative function for
enable
systems that have
continuous states.
EnableFcn
Name of disable function for
enable
or
enable_with_trigger
systems.
DisableFcn
Name of disable function for
enable
or
enable_with_trigger
systems.
ZeroCrossFcn
Name of nonsampled zero-crossing function for
enable
systems
using variable step solver.