MATLAB REAL-TIME WORKSHOP 7 - TARGET LANGUAGE COMPILER Manual de Serviço Página 63

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 282
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 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
Vista de página 62
1 2 ... 58 59 60 61 62 63 64 65 66 67 68 ... 281 282

Comentários a estes Manuais

Sem comentários