MATLAB APPLICATION DEPLOYMENT - WEB EXAMPLE GUIDE Guía de usuario Pagina 212

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 274
  • Tabla de contenidos
  • SOLUCIÓN DE PROBLEMAS
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 211
mcc
7-26
compilation, you can use one simple option, i.e., macro, that allows you to
quickly accomplish basic compilation tasks. If you want to take advantage of
the power of the Compiler, you can do whatever you desire to do by choosing
various Compiler options.
Table 7-2, Macro Options, shows the relationship between the macro approach
to accomplish a standard compilation and the multioption alternative.
Understanding a Macro Option. The -m option tells the Compiler to produce a
stand-alone C application. The
-m macro is equivalent to the series of options
-t -W main -L C -T link:exe -h libmmfile.mlib
Table 7-2: Macro Options
Macro
Option
Bundle File Creates Option Equivalence
Translate M to C/C++
| Function Wrapper
| | Target Language
| | | Output Stage
| | | | Helper Functions
|| | | |
| | | | | M-File Library
|| | | | |
-m
macro_option_m
Stand-alone C
application
-t -W main -L C -T link:exe -h libmmfile.mlib
-p
macro_option_p
Stand-alone
C++
application
-t -W main -L Cpp -T link:exe -h libmmfile.mlib
-x
macro_option_x
MEX-function
-t -W mex -L C -T link:mexlibrary libmatlbmx.mlib
-S
macro_option_S
Simulink
S-function
-t -W simulink -L C -T link:mex libmatlbmx.mlib
-g
macro_option_g
Enable debug
-G -A debugline:on -O none
Vista de pagina 211
1 2 ... 207 208 209 210 211 212 213 214 215 216 217 ... 273 274

Comentarios a estos manuales

Sin comentarios