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

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 282
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 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 página 30
1 2 ... 26 27 28 29 30 31 32 33 34 35 36 ... 281 282

Comentários a estes Manuais

Sem comentários