MATLAB REAL-TIME WORKSHOP 7 - TARGET LANGUAGE COMPILER Servisní příručka Strana 27

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 282
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 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
Zobrazit stránku 26
1 2 ... 22 23 24 25 26 27 28 29 30 31 32 ... 281 282

Komentáře k této Příručce

Žádné komentáře