MATLAB REAL-TIME WORKSHOP 7 - TARGET LANGUAGE COMPILER Instrukcja Obsługi Strona 63

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 282
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 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
Przeglądanie stron 62
1 2 ... 58 59 60 61 62 63 64 65 66 67 68 ... 281 282

Komentarze do niniejszej Instrukcji

Brak uwag