User`s guide

mcc
7-38
The -B sgl option is equivalent to the series of options
-m -W mainhg libmwsglm.mlib
-B sglcpp (Stand-Alone C++ Graphics Library).
Produce a stand-alone C++
application that uses Handle Graphics.
The
-B sglcpp option is equivalent to the series of options
-p -W mainhg libmwsglm.mlib
-B pcode (MATLAB P-Code).
Produce M ATLAB P-code.
The
-B pcode option is equivalent to the series of options
-t -L P
Code Generation Options
-A (Annotation Control for Output Source). Control the type of annotation in the
resulting C/C++ source file. The types of annotation you can control are:
M-file code and/or comment inclusion (
annotation)
#line preprocessor directive inclusion (line)
Whether error messages report the source file and line number (
debugline)
To control the M-file code that is included in the generated C/C++ source, use
mcc -A annotation:type
This table shows the available types of code and comment annotation options.
Table 7-4: Code/Comment Annotation Options
type Description
all
Provides the complete source of the M-file interleaved
with the generated C /C++ source. The default is
all.
comments
Provides all of the comments from the M-file
interleaved with the generated C/C++ source.
none
No comments or code from the M-file are added to code.