MATLAB BUILDER JA 2 Guia do Utilizador Página 48

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 292
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 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 página 47
1 2 ... 43 44 45 46 47 48 49 50 51 52 53 ... 291 292

Comentários a estes Manuais

Sem comentários