MATLAB REAL-TIME WORKSHOP 7 - TARGET LANGUAGE COMPILER Servisní příručka Strana 120

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 282
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 119
3
Writing Target Language Files
3-46
For example, the Gain block in this example is defined in the RTW file as:
Block {
Type Gain
Name "<Root>/Kp"
Identifier Kp
TID 0
RollRegions [0:99, 100, 101, 102:112]
NumDataInputPorts 1
.
.
.
Parameter {
Name "Gain"
Value [2.5]
String "2.5"
}
}
Note that there are four RollRegions in this example:
One contiguous region for
Constant1 inputs (1)
Two noncontiguous regions for
Constant2 inputs (2 and 3)
One contiguous region for
Constant3 (4)
1
2 3 4
Zobrazit stránku 119
1 2 ... 115 116 117 118 119 120 121 122 123 124 125 ... 281 282

Komentáře k této Příručce

Žádné komentáře