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

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 282
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 30
Compiler Directives
2-11
"Matrix" Matrix (3,2) [ [ 1, 2]
[3 , 4] [ 5, 6] ]
Matrices are simply lists of
vectors. The individual
elements of the matrix do not
need to be the same type,
and can be any type except
vectors or matrices.
"Number" 15
An integer number.
"Range" 1:5
A range of integers between
1 and 5, inclusive, cannot be
specified except in the
.rtw
file or vector because of
syntactic ambiguity with the
? : operator. Use [1:5][0]
to generate a range.
"Real" 3.14159
A floating-point number
(including exponential
notation).
"Scope" Block { … }
A block-scope.
"Special" N/A
A special built-in function,
such as
FILE_EXISTS.
Table 2-2: Target Language Values (Continued)
Value Type
String
Example Description
Vedere la pagina 30
1 2 ... 26 27 28 29 30 31 32 33 34 35 36 ... 281 282

Commenti su questo manuale

Nessun commento