MATLAB BUILDER JA 2 Podręcznik Użytkownika Strona 266

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 292
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 265
6 Reference Infor mation for Java
Data Conversion Rules
“Java to MATLAB Conversion” on page 6-10
“MATLAB to Jav a Conversion” on page 6-12
“Unsupported MATLAB Array Types” on page 6-13
Java to MATLAB Conversion
The fol lowing table lists the data conversion rules for converting Java data
types to MATLAB types.
Note The conversion rules apply to scalars, vectors, matrices, and
multid imensional arrays of the types listed.
The conversio n rul es ap pl y no t only when calling your own methods, but
also when calling constructors and factory methods belonging to the
MWArray
classes.
When calling an
MWArray class method constructor, supplying a specific data
type causes Java Builder to convert to that type instead of the default.
Java to MATLAB Conversion Rules
Java Type MATL AB Type
double double
float single
byte int8
int int32
short int16
long int64
char char
boolean logical
java.lan
g.Double
double
6-10
Przeglądanie stron 265
1 2 ... 261 262 263 264 265 266 267 268 269 270 271 ... 291 292

Komentarze do niniejszej Instrukcji

Brak uwag