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

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 292
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 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
Przeglądanie stron 47
1 2 ... 43 44 45 46 47 48 49 50 51 52 53 ... 291 292

Komentarze do niniejszej Instrukcji

Brak uwag