MATLAB REAL-TIME WORKSHOP 7 - TARGET LANGUAGE COMPILER Service Manual Page 31

  • Download
  • Add to my manuals
  • Print
  • Page
    / 282
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 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
Page view 30
1 2 ... 26 27 28 29 30 31 32 33 34 35 36 ... 281 282

Comments to this Manuals

No comments