MATLAB REAL-TIME WORKSHOP 7 - TARGET LANGUAGE COMPILER Manuale di Servizio Pagina 63

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 282
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 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
Vedere la pagina 62
1 2 ... 58 59 60 61 62 63 64 65 66 67 68 ... 281 282

Commenti su questo manuale

Nessun commento