MATLAB BUILDER EX 1 Guide de l'utilisateur Page 54

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 164
  • Table des matières
  • DEPANNAGE
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 53
3 Usage Examples
Creating the M a in VB Code Module for the Application. The add-in
requires some initialization code and som e global variables to hold the
application’s state between function inv ocations. To achieve this, implement a
VisualBasiccodemoduletomanagethesetasks,asfollows:
1 Right-click the VBAProject item in the project window and click
Insert > Module .
A new mo du le appears under Modules in the VBA Project.
2 In the module’s property page, set the Name property to FourierMain.
See the next figure.
3 Enter t
he following code in the
FourierMain module:
'
' FourierMain - Main module stores global state of controls
' and provides initialization code
'
3-16
Vue de la page 53
1 2 ... 49 50 51 52 53 54 55 56 57 58 59 ... 163 164

Commentaires sur ces manuels

Pas de commentaire