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

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 282
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 26
Compiler Directives
2-7
Conditional inclusion
%if constant-expression
%else
%elseif constant-expression
%endif
%switch constant-expression
%case constant-expression
%default
%break
%endswitch
Multiple inclusion
%foreach identifier = constant-expression
/* Loops from 0 to N 1 */
%break
%continue
%endforeach
%roll identifier = roll-vector-expression, identifier =
threshold-expression, block-expression [, type-string
[,expression-list] ]
%break
%continue
%endroll
%for identifier = constant-exp, constant-exp, identifier
%body
%break
%continue
%endbody
%endfor
Object-oriented
facility
%generatefile identifier string
%language
%implements
Table 2-1: Target Language Compiler Directives (Continued)
Type Construct
Vista de pagina 26
1 2 ... 22 23 24 25 26 27 28 29 30 31 32 ... 281 282

Comentarios a estos manuales

Sin comentarios