MATLAB COMPILER RELEASE NOTES Betriebsanweisung Seite 78

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 264
  • Inhaltsverzeichnis
  • FEHLERBEHEBUNG
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 77
4 Stand-Alone Applications
4-8
Building Stand-Alone Applications on UNIX
This section explains how to compile and link C or C++ source code into a
stand-alone UNIX application. This section includes:
Configuring for C or C++
Preparing to Compile
Verifying mbuild
Verifying the MATLAB Compiler
Distributing Stand-Alone UNIX Applications
About the mbuild Script
Configuring for C or C++
The mbuild script deduces the type of files you are compiling by the file
extension. If you include both C and C++ files,
mbuild uses the C++ compiler
and the MATLAB C++ Math Library. I f
mbuild cannot deduce from the file
extensions whether to compile C or C++,
mbuild invokes the C c o m p ile r. The
MATLAB Co mp iler gener ate s only
.c and .cpp files. This table shows the
supported file extensions.
Note You can override the language choice that is determined from the
extension by using the
-lang option of mbuild. For more information about
this option, as well as all of the other
mbuild options, see the mbuild reference
page.
Table 4-1: UNIX File Extensions for mbuild
Language Extension(s)
C
.c
C++
.cpp
.C
.cxx
.cc
Seitenansicht 77
1 2 ... 73 74 75 76 77 78 79 80 81 82 83 ... 263 264

Kommentare zu diesen Handbüchern

Keine Kommentare