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

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 354
  • Table des matières
  • DEPANNAGE
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 84
Using Macros to Simplify Compilation
Using Macros to S implify Compilation
In this section...
“Macro Options” on page 5-5
“Understanding a Macro Option” on page 5-5
Macro Options
MATLAB Compiler, through its exhaustive set of options, gives you access
to the tools you need to do your job. If you want a simplified approach to
compilation, you can use one simple option, i.e., macro,thatallowsyouto
quickly accomplish basic compilation tasks. Macros let you group several
options toge the r to perform a particular type of compilation.
This table shows the relationship between the macro approach to accomplish
a standard compilation and the multio pti o n a lternative.
Macro
Option Bundle File Creates
Option Equivalence
Function Wrapper
| Output Stage
||
-l macro_opt ion_ l
Library
-W lib -T link:lib
-m macro_opt ion_ m
Standalone C application
-W main -T link:exe
Understanding a Macro Option
The -m option tells MATLAB Compiler to produce a standalone C application.
The
-m macro is equivalent to the series of options
-W main -T link:exe
This table shows the options that compose the -m macro and the information
that they provide to MATLAB Compiler.
5-5
Vue de la page 84
1 2 ... 80 81 82 83 84 85 86 87 88 89 90 ... 353 354

Commentaires sur ces manuels

Pas de commentaire