MATLAB REAL-TIME WORKSHOP 7 - TARGET LANGUAGE COMPILER Service Manual Page 120

  • Download
  • Add to my manuals
  • Print
  • Page
    / 282
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 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
Page view 119
1 2 ... 115 116 117 118 119 120 121 122 123 124 125 ... 281 282

Comments to this Manuals

No comments