MATLAB REAL-TIME WORKSHOP 7 - TARGET LANGUAGE COMPILER Manuale di Servizio Pagina 23

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 282
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 22
The model.rtw File
2-3
The model.rtw File
Real-Time Workshop generates a model.rtw file from your Simulink model.
The
model.rtw file is a hierarchical database whose contents provide a
description of the individual blocks within the Simulink model.
model.rtw is an ASCII file of parameter-value pairs stored in a hierarchy of
records defined by your model. A parameter-value pair is specified as:
ParameterName value
where ParameterName, (also called an identifier) is the name of the RTW
identifier and
value is a string, scalar, vector, or matrix. For example, in the
parameter-value pair
.
.
NumDataOutputPorts 1
.
.
NumDataOutputPorts
is the identifier and 1 is its value.
A record is specified as:
RecordName {
.
.
}
A record contains parameter-value pairs and/or subrecords. For example, this
record contains one parameter-value pair:
DataStores {
NumDataStores 0
}
The following reduced example shows a record, Block, with several
parameter-value pairs (
Type, Name, Identifier, and so on), and three
subrecords, each called
Parameter. Block is a subrecord of System, which is a
subrecord of
CompiledModel.
Vedere la pagina 22
1 2 ... 18 19 20 21 22 23 24 25 26 27 28 ... 281 282

Commenti su questo manuale

Nessun commento