MATLAB XPC TARGET RELEASE NOTES User's Guide Page 209

  • Download
  • Add to my manuals
  • Print
  • Page
    / 531
  • Table of contents
  • TROUBLESHOOTING
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 208
xPC Target™ Interfac e Bloc ks to Simulink
®
Models
For example, the block labeled TankLevel is an integrator with a single
signal that indicates the level of water in the tank. Replace the existing tag
with the tag shown below .
The tag has the following format syntax:
xPCTag(1, . . . index_n)=label_1 ...label_n;
For single dimension ports, the following syntax is also valid:
XPCTag=label:
index_n Index of a signal within a vector signal line. Begin numbering
signals with an index of
1.
label_n Name for a signal that will be connected to a From xPC
Target block in the user interface model. Separate the labels with a
space, not a comma.
label_1...label_n must consist of the same identifiers as those used by
C/C++ to name functions, variables, and so forth. Do not use names like
-foo.
10-11
Page view 208
1 2 ... 204 205 206 207 208 209 210 211 212 213 214 ... 530 531

Comments to this Manuals

No comments