MATLAB BUILDER JA 2 Uživatelská příručka Strana 268

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 292
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 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
Zobrazit stránku 267
1 2 ... 263 264 265 266 267 268 269 270 271 272 273 ... 291 292

Komentáře k této Příručce

Žádné komentáře