MATLAB BUILDER JA 2 Guide de l'utilisateur Page 233

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 292
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 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
Vue de la page 232
1 2 ... 228 229 230 231 232 233 234 235 236 237 238 ... 291 292

Commentaires sur ces manuels

Pas de commentaire