MATLAB BUILDER JA 2 Guide de l'utilisateur Page 266

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 292
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 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
Vue de la page 265
1 2 ... 261 262 263 264 265 266 267 268 269 270 271 ... 291 292

Commentaires sur ces manuels

Pas de commentaire