Technical data

model.rtw
A-15
ControlPort {
One record for control input port.
Type
Type of control port: enable, trigger, or function-call.
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).
SignalSrcTID
Vector of length Width giving the TID as an integer index,
trigger, or constant identifier for each signal entering this
control port.
}
NumDataOutputPorts
Number of output ports. Only written if nonzero.
DataOutputPortIndices
Indices into BlockOutputs record. Only written if
NumDataOutputPorts > 0.
Parameters
Specified as [N,M,I] where N is the number of Parameter records
that follow,
M is the number of modifiable parameter elements,
and
I is the starting index into the params vector. Not present if
N==0.
Parameter {
One record for each parameter.
Name
Name of the parameter.
Value
Value of the parameter.
String
String entered in the Simulink block dialog box.
Table A-2: Model.rtw File Contents — System Record (Continued)
Variable/Record Name Description