MATLAB BUILDER JA 2 Guida Utente Pagina 233

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 292
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 232
Plot Example
plot(x,y);
This code is already in your work d irectory in
PlotExample\PlotDemoComp\drawplot.m.
4 Specify a Java component as follows :
a. While in MATLAB, issue the following command to open the
Deployment Tool dialog box:
deploytool
b. Create a new project with t he se settings:
Field Value
Component
name
plotdemo
Class name plotter
Show verbose
output
Selected
c. Add the computefft.m and plotfft.m M -files to the project.
d. Save the project.
5 Build the component.
6 W rite source code for an application that accesses the component.
The sample application for this example is in
matlabroot\toolbox\javabuilder\Examples\PlotExample
\PlotDemoJavaApp\createplot.java
.
The program graphs a simple parabola from the equation
5-3
Vedere la pagina 232
1 2 ... 228 229 230 231 232 233 234 235 236 237 238 ... 291 292

Commenti su questo manuale

Nessun commento