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

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 292
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 46
3
Programming
To access a Java component built and packaged by M ATLAB Builder for
Java, you must first unpack and install components so you can use them on
a particular mach i ne.
Then you perform the following programming tasks:
Import Clas ses (p. 3-2)
How to reference the classes
Creating an Instance of the Class
(p. 3-3)
Sample code for instantiating a class
that encapsulates MATLAB code
Passing Arguments to and from Java
(p. 3-6)
How to match up data ty pes between
MATLAB and Java
Handling Errors (p. 3-19)
How to handle an error generated by
MATLAB
Managing Native Resources (p. 3-25)
Howtofreememoryusedbythe
MWArray data conversion classes
Handling Data Conversion Between
Java and MATLAB (p. 3-28)
Call signatures for passing
arguments and returning output
Note For conceptual information that might help you in approaching these
tasks, see C hapter 2, “Concepts”.
For examples of th ese tasks, see Chap ter 5, “Sample Applications (Java)”.
For information about deploying y our application after you complete these
tasks, see “How Does Component Deployment Work?” on page 2-11.
Przeglądanie stron 46
1 2 ... 42 43 44 45 46 47 48 49 50 51 52 ... 291 292

Komentarze do niniejszej Instrukcji

Brak uwag