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

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 282
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 27
2
Working with the Target Language
2-8
Comments
You can place comments anywhere within a target file. To include comments,
use the
/%...%/ or %% directives. For example,
/%
Abstract: Return the field with [width], if field is wide
%/
or
%endfunction %% Outputs function
Output file control
%openfile x optional-string "optional-mode"
%closefile
%selectfile identifier
Input file control
%include string
%addincludepath string
Debug statements
%error tokens
%warning tokens
%trace tokens
%exit tokens
Macro definition
%define identifier opt-argument-list replacement-list
%undef
Identifier definition
%assign [::]expression = constant-expression
Scoping
%with expression
%endwith
Target language
functions
%function identifier ( optional-arguments ) [Output | void]
%endfunction
%return
Table 2-1: Target Language Compiler Directives (Continued)
Type Construct
Vista de página 27
1 2 ... 23 24 25 26 27 28 29 30 31 32 33 ... 281 282

Comentários a estes Manuais

Sem comentários