MATLAB COMPILER RELEASE NOTES Guía de usuario Pagina 217

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 264
  • Tabla de contenidos
  • SOLUCIÓN DE PROBLEMAS
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 216
mcc
7-39
To control the #line preprocessor directives that are includedin the generated
C/C++ source, use
mcc -A line:setting …
The table shows the available #line directive settings.
To control if run-time error messages report the source file and line number,
use
mcc -A debugline:on …
This table shows the available debugline directive settings.
For example:
Toincludeallofyour M-code,includingcomments,inthe generatedfile andthe
standard #line preprocessor directives, use
mcc -A annotation:all -A line:on …
or
mcc -A line:on … (The default is all for code/comment inclusion.)
Table 7-5: Line Annotation Options
Setting Description
on
Adds #line preprocessor directives to the generated
C/C++ source code to enable source M-file debugging.
Note: The page width option is ignored when this is on.
off
Adds no #line preprocessor directives to the generated
C/C++ source code. T he default is
off.
Table 7-6: Run-Time Error Annotation Options
Setting Description
on
Specifies the presence of source file and line number
information in run-time error messages.
off
Specifies no source file and line number information in
run-time error messag es. The default is
off.
Vista de pagina 216
1 2 ... 212 213 214 215 216 217 218 219 220 221 222 ... 263 264

Comentarios a estos manuales

Sin comentarios