MATLAB BUILDER EX 1 Guide de l'utilisateur Page 81

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 182
  • Table des matières
  • DEPANNAGE
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 80
Spectral Analysis Example
4-29
Adding The Spectral Analysis Menu Item to Excel
The last step in the integration process adds a menu item to Excel so that you
can invoke the tool from Excels
Tools menu. To do this you add event handlers
for the workbooks
AddinInstall and AddinUninstall events that install and
uninstall menu items. The menu item calls the
LoadFourier function in the
FourierMain module. Follow these steps to implement the menu item:
1 Right-click on the ThisWorkbook item in the Visual Basic project window
and select
View Code from the pop-up menu. See the next figure.
Figure 4-20: Adding a Menu Item to Excel
2 Place the code below into the ThisWorkbook object.
Vue de la page 80
1 2 ... 76 77 78 79 80 81 82 83 84 85 86 ... 181 182

Commentaires sur ces manuels

Pas de commentaire