MATLAB APPLICATION DEPLOYMENT - WEB EXAMPLE GUIDE Guide de l'utilisateur Page 84

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 274
  • Table des matières
  • DEPANNAGE
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 83
4 Stand-Alone Applications
4-8
Locating Options Files
mbuild locates your options file by searching the following:
The current directory
$HOME/.matlab/R13
<matlab>/bin
mbuild
uses the first occurrence of the options file it finds. If no options file is
found,
mbuild displays an error message.
Preparing to Compile
Note Refer to Supported ANSI C and C++ UNIX Compilers on page 2-4 for
information about supported compilers and important limitations.
Using the System Compiler
If the MATLAB Compiler and your supported C or C++ compiler are installed
on your system, you are ready to create C or C++ stand-alone applications. To
create a stand-alone C application, you can simply enter
mbuild filename.c
This simple method works for the majority of users. Assuming filename.c
contains a
main function, this example uses the systems compiler as your
default compiler for creating your stand-alone application. If you are a user
who does not need to change C or C++ compilers, or you do not need to modify
your compiler options files, you can skip ahead in this section to Verifying
mbuild on page 4-11. If you need to know how to change the options file or
select a different compiler, continue with this section.
Changing Compilers
Changing the Default Compiler. You need to use the setup option if you want to
change any options or link against different libraries. At the UNIX prompt type
mbuild -setup
Vue de la page 83
1 2 ... 79 80 81 82 83 84 85 86 87 88 89 ... 273 274

Commentaires sur ces manuels

Pas de commentaire