MATLAB REAL-TIME WORKSHOP 7 - TARGET LANGUAGE COMPILER Manual de servicio Pagina 68

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 282
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 67
2
Working with the Target Language
2-48
is not searched. Also, if a %with is included within a function, its associated
scope is carried with any nested function call. For example,
Figure 2-8: Scoping Rules When Using %with Within a Function
Global Pool
%assign a = …
%assign b = …
Top-Level RTW Pool
CompiledModel {
}
%with CompiledModel
System[Sysidx]
6
%with expression2
Block[Blkidx]
%function function1
foo (x,y)
%with expression3
Name[Nmidx]
%function function2
bar ( )
%<variableX>
5
4
3
2
1
Vista de pagina 67
1 2 ... 63 64 65 66 67 68 69 70 71 72 73 ... 281 282

Comentarios a estos manuales

Sin comentarios