MATLAB BUILDER EX 1 Guide de l'utilisateur Page 5

  • 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 4
iii
4
Usage Examples
Magic Square Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-2
Creating the Project . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-3
Building the Project . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-5
Adding the Excel Builder COM Function to Excel . . . . . . . . . . . 4-5
Illustration 1. Output Magic Square Results to Excel . . . . . . . . 4-5
Illustration 2. Transpose the Output . . . . . . . . . . . . . . . . . . . . . 4-6
Illustration 3. Resize the Output . . . . . . . . . . . . . . . . . . . . . . . . 4-6
Inspecting the Visual Basic Code . . . . . . . . . . . . . . . . . . . . . . . . 4-7
Using Multiple Files and Variable Arguments . . . . . . . . . . . 4-8
Creating the Project . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-8
Building the Project . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-11
Adding the Excel Builder COM Functions to Excel . . . . . . . . . 4-11
Illustration 4: Calling myplot . . . . . . . . . . . . . . . . . . . . . . . . . . 4-13
Illustration 5: Calling mysum Four Different Ways . . . . . . . . 4-14
Illustration 6: myprimes Macro . . . . . . . . . . . . . . . . . . . . . . . . . 4-15
Inspecting the Visual Basic Code . . . . . . . . . . . . . . . . . . . . . . . 4-16
Spectral Analysis Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-18
Building the Component . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-18
Integrating the Component with
Visual Basic for Applications . . . . . . . . . . . . . . . . . . . . . . . . . . .
4-20
Creating The Visual Basic Form . . . . . . . . . . . . . . . . . . . . . . . . 4-22
Adding The Spectral Analysis Menu Item to Excel . . . . . . . . . 4-29
Saving the Add-in . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-30
Testing The Add-in . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-31
Package the Add-in . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-34
5
Function Wizard
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-2
Installing the Function Wizard Add-in . . . . . . . . . . . . . . . . . . . . 5-2
Starting the Function Wizard . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-2
Vue de la page 4
1 2 3 4 5 6 7 8 9 10 ... 181 182

Commentaires sur ces manuels

Pas de commentaire