MATLAB REAL-TIME WORKSHOP 7 - TARGET LANGUAGE COMPILER Instrukcja Obsługi Strona 28

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 282
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 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
Przeglądanie stron 27
1 2 ... 23 24 25 26 27 28 29 30 31 32 33 ... 281 282

Komentarze do niniejszej Instrukcji

Brak uwag