MATLAB REAL-TIME WORKSHOP 7 - TARGET LANGUAGE COMPILER Wartungshandbuch Seite 63

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 282
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 62
Compiler Directives
2-43
The System[Sysidx] scope is added to the search list, and it is searched before
anything else.
Figure 2-5: Modifying the Search Sequence
Using this technique makes it simpler to access embedded definitions. For
example, to refer to the system name without using
%with, you would have to
use:
CompiledModel.System[Sysidx].Name
Using the pair of %with statements as in the previous example, you can refer
to the system name simply by:
Name
Global Pool
%assign a = …
%assign b = …
Top-Level RTW Pool
CompiledModel {
}
%with CompiledModel.
System[Sysidx]
1
2
3
Seitenansicht 62
1 2 ... 58 59 60 61 62 63 64 65 66 67 68 ... 281 282

Kommentare zu diesen Handbüchern

Keine Kommentare