MATLAB COMPILER RELEASE NOTES Betriebsanweisung Seite 54

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 264
  • Inhaltsverzeichnis
  • FEHLERBEHEBUNG
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 53
2 Installation and Configuration
2-24
information about the add-in, see “Using an IDE” in Chapter 4, “Stand-Alone
Applications.”
MATLAB Compiler Verification
Verifying from MATLAB
OnceyouhaveverifiedthatyoucangenerateMEX-filesonyoursystem,you
are ready to verify that the MATLAB Compiler is correctly installed. Type the
following at the MATLAB prompt.
mcc -x invhilb
After a short delay, this command should complete and display the MATLAB
prompt. Next, at the MATLAB prompt, type
which invhilb
The which command should indicate that invhilb is now a MEX-file; it should
have created the file
invhilb.dll. Finally, at the MATLAB prompt, type
invhilb(10)
Note that this tests only the Compiler’s ability to make MEX-files. If you want
to create stand-alone applications or DLLs, refer to Chapter 4, “Stand-Alone
Applications,” for additional details.
Verifying from DOS Command Prompt
To verify that the Compiler can generate C MEX-files from the DOS command
prompt, you follow a similar procedure as that used in the previous section.
Note Before you test to see if the Compiler can generate MEX-files from the
DOS command prompt, you may want to delete the MEX-file you created in
the previous section,
invhilb.dll.Thatway,youcanbesureyournewly
generated MEX-file is the result of using the Compiler from the DOS prompt.
To delete this file, you must clear the MEX-file or quit MATLAB; otherwise
the deletion will fail.
Seitenansicht 53
1 2 ... 49 50 51 52 53 54 55 56 57 58 59 ... 263 264

Kommentare zu diesen Handbüchern

Keine Kommentare