MATLAB XPC TARGET 4 - API GUIDE Betriebsanweisung Seite 166

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 372
  • Inhaltsverzeichnis
  • FEHLERBEHEBUNG
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 165
8 Graphical User Interfaces
8-12
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.
To create the From xPC blocks in an user interface model for a signal line
with four signals (port dimension of 4), use the following syntax:
xPCTag(1,2,3,4)=label_1 label_2 label_3 label_4;
To create the From xPC blocks for the second and fourth signals in a signal
line with at least four signals, use the following syntax:
Seitenansicht 165
1 2 ... 161 162 163 164 165 166 167 168 169 170 171 ... 371 372

Kommentare zu diesen Handbüchern

Keine Kommentare