MATLAB BUILDER JA 2 Guía de usuario Pagina 48

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 292
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 47
3 Programming
Impor t Classes
To use a component generated by MATLAB Builder for Java, you must do
the following:
Import MATLAB libraries with the Java
import function, for example:
import com.mathworks.toolbox.javabuilder.*;
Import the component classes created by Java Builde r, for example:
import componentname.*; or import componentname.classname;
Note When you use Java Builder to create classes, you m us t create those
classes on the same operating system to which you are deploying them
for development (or for use by end users running an application). That is,
for exam ple, if your g oal is to deploy an application to end users to run on
Windows, you must create the Java classes with Java Builder running on
Windows.
The reason for this limi tation is as follow s: although the
.jar file itself might
be platform-independent, the
.jar file is depen dent on the .ctf file, which
is not platform-independent.
3-2
Vista de pagina 47
1 2 ... 43 44 45 46 47 48 49 50 51 52 53 ... 291 292

Comentarios a estos manuales

Sin comentarios