MATLAB COMPILER RELEASE NOTES Guide de l'utilisateur Page 55

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 264
  • Table des matières
  • DEPANNAGE
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 54
Microsoft Windows on PCs
2-25
Copyinvhilb.mfromthe<matlab>\toolbox\matlab\elmat directory toalocal
directory and then type the following at the DOS prompt.
mcc -x invhilb
Next, verify that invhilb is now a MEX-file by listing the invhilb files.
dir invhilb*
You will see a list containing
invhilb.c
invhilb.dll
invhilb.h
invhilb.m
invhilb_mex.c
These are the files that the Compiler generates from the M-file, in addition to
the original M-file,
invhilb.m. The Compiler-generated MEX-file appears in
the list as the filename followed by the extension,
dll. In this example, the
Compiler creates thefile
invhilb.dll. Formore information on whichfiles the
Compiler creates for a compilation, see Chapter 5, Controlling Code
Generation.”
To test the newly created MEX-file, you would start MATLAB and, at the
MATLAB prompt, you could type
invhilb(10)
Vue de la page 54
1 2 ... 50 51 52 53 54 55 56 57 58 59 60 ... 263 264

Commentaires sur ces manuels

Pas de commentaire