Technical data
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