MATLAB REAL-TIME WORKSHOP 7 - TARGET LANGUAGE COMPILER Manual de servicio Pagina 31

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 282
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de 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
Vista de pagina 30
1 2 ... 26 27 28 29 30 31 32 33 34 35 36 ... 281 282

Comentarios a estos manuales

Sin comentarios