User`s guide
Data Conversion Rules
MATLAB to Java Conversion Rules (Continued)
MATLAB Type Java Type (Primitive) Java Type (Object)
uint16 short
java.lang.short
Java has no unsigned type
to represent the
uint16 used in MATLAB.
Construction of and a ccess to M ATLAB arrays of
an unsigned type requires conversion.
uint32 int
java.lang.Integer
Java has no unsigned type
to represent the
uint32 used in MATLAB.
Construction of and a ccess to M ATLAB arrays of
an unsigned type requires conversion.
uint64 long
java.lang.Long
Java has no unsigned type
to represent the
uint64 used in MATLAB.
Construction of and a ccess to M ATLAB arrays of
an unsigned type requires conversion.
logical boolean java.lang.Boolean
Function handle Not supported
Java class Not supported
User class Not supported
Unsupported MATLAB Array Types
Java has no unsigned types to represent the uint8, uint16, uint32,and
uint64 types used in MATLAB. Construction of and access to MATLAB
arrays of an unsigned type requires conversion.
6-13