User`s guide

mcc
7-31
MATLAB Compiler Option Flags
The MATLAB Compiler option flags perform various functions that affect the
generated code and how the Compiler behaves. Table 7-4, Compiler Option
Categories, shows the categories of options.
The remainder of this reference page is subdivided into sections that
correspond to the Compiler option categories. Each section provides a full
description of all of the options in the category.
Macro Options
The macro options provide a simplified way to accomplish basic compilation
tasks.
-g (Debug). This option is a macro that is equivalent to
-G -A debugline:on -O none
or
-B macro_option_g
Table 7-4: Compiler Option Categories
Category Purpose
Macros The macro options simplify the compilation
process by combining the most common
compilation tasks into single options.
Code Generation These options affect the actual code that
the Compiler generates. For example,
-L
specifies the target language as either C or
C++.
Compiler and Environment These options provide information to the
Compiler such as where to put (
-d) and find
(
-I) particular files.
mbuild/mex These options provide information for the
mbuild and/or mex scripts.