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

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 282
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la 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
Vedere la pagina 26
1 2 ... 22 23 24 25 26 27 28 29 30 31 32 ... 281 282

Commenti su questo manuale

Nessun commento