MATLAB COMPILER RELEASE NOTES Betriebsanweisung Seite 217

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 264
  • Inhaltsverzeichnis
  • FEHLERBEHEBUNG
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 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.
Seitenansicht 216
1 2 ... 212 213 214 215 216 217 218 219 220 221 222 ... 263 264

Kommentare zu diesen Handbüchern

Keine Kommentare