MATLAB BUILDER JA 2 User's Guide Page 268

  • Download
  • Add to my manuals
  • Print
  • Page
    / 292
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 267
6 Reference Infor mation for Java
MATLAB to Java Conversion
The following table lists the data conversion rules for converting MATLAB
data types to Java types.
Note The conversion rules apply to scalars, vectors, matrices, and
multid imensional arrays of the types listed.
MATLAB to Java Conversion Rules
MATLAB Type Java Type (Primitive) Java Type (Object)
cell
N/A
Object
Note Cell arrays are constructed and a ccessed as
arrays of
MWArray.
structure
N/A
Object
Note Structure
arrays are constructed and
accessed as ar
rays of
MWArray.
char char java.lang.Character
double double java.lang.Double
single float java.lang.F
loat
int8 byte java.lang.Byte
int16 short java.lang.Short
int32 int java.lang.
Integer
int64 long java.lang.Long
uint8 byte
java.lang.Byte
Java has no unsigned type
to represent the
uint8 used in MATLAB.
Construction of and a ccess to M ATLAB arrays of
an unsigned type requires conversion.
6-12
Page view 267
1 2 ... 263 264 265 266 267 268 269 270 271 272 273 ... 291 292

Comments to this Manuals

No comments