MATLAB BUILDER JA 2 Guida Utente Pagina 236

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 292
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 235
5 Sample Applications (Java)
Uses a try-catch block to catch and handle any exceptions.
7 Compile the createplot application using javac.
a. On Windows, execute the fo llo wing command:
javac -classpath
.;
matlabroot\java\jar\toolbox\javabuilder.jar;
.\distrib\plotdemo.jar createplot.java
b. On UNIX, execute this command:
javac -classpath
.:
matlabroot/java/jar/toolbox/javabuilder.jar:
./distrib/plotdemo.jar createplot.java
8 Run the application.
To run the
createplot.class file,dooneofthefollowing:
On Windows, type
java -classpath
.;
matlabroot\java\jar\toolbox\javabuilder.jar;
.\distrib\plotdemo.jar
-Djava.library.path=
matlabroot\bin\win32;.\distrib
createplot
On UNIX, type
java -classpath
.:
matlabroot/java/jar/toolbox/javabuilder.jar:
./distrib/plotdemo.jar
-Djava.library.path=
matlabroot/bin/<Arch>./distrib
createplot
% where <Arch> = glux86 gluxa64 sol2
5-6
Vedere la pagina 235
1 2 ... 231 232 233 234 235 236 237 238 239 240 241 ... 291 292

Commenti su questo manuale

Nessun commento