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

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 292
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 42
What Happens in the Build Process?
What Happens in the Build Process?
Note MATLAB Builder for Java uses the JAVA_HOME variable to locate the
Java Software Development Kit (SDK) on your system. The compiler uses
this variable to set the version of the
javac.exe command it uses during
compilation.
To create a component, Java Builder does the following:
1 GeneratesJavacodetoimplementyourcomponent.Thefilesareasfollows:
myclass.java
Contains a Java
class with methods
encapsulating
the M-functions specified in
the project fo
rthatclass.
mycomponentMCR.java
Contains the C
TF decryption keys and code
to i n itia l ize
the M CR for the component.
2 Compiles the
Java code produced in step 1.
3 Generates /distrib and /src subdirectories.
4 Creates a compo n ent technology file (.ctf) which contains encrypted
MATLAB files generated by Java Builder.
5 Invokes the J
ar utility to pa ckage the Java class files it has created into a
Java archiv
efile(
mycomponent.jar).
2-9
Przeglądanie stron 42
1 2 ... 38 39 40 41 42 43 44 45 46 47 48 ... 291 292

Komentarze do niniejszej Instrukcji

Brak uwag