MATLAB REAL-TIME WORKSHOP 7 - TARGET LANGUAGE COMPILER Manuel de service Page 28

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 282
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 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
Vue de la page 27
1 2 ... 23 24 25 26 27 28 29 30 31 32 33 ... 281 282

Commentaires sur ces manuels

Pas de commentaire