User`s guide
mcc
to specify project_name as the project file name when calling mcc.This
option enables the
.prj file, along with all of its associated settings, to
be fed back to
mcc. Project files created using either mcc or deploytool
areeligibletousethisoption.Whenusing-F,nootherargumentsmay
be invoked against
mcc.
-g Generate Debugging Information
Include debugging symbol information for the C/C++ code generated
by MATLAB Compiler. It also causes
mbuild to pass appropriate
debugging flags to the system C/C++ comp iler. The de bu g option
enables y ou to backtrace up to the point where you can identify if the
failure occurred in the initialization of MC R, the function call, or the
termination routine. This o ption does not allow you to debug your
M-files with a C/C++ debugger.
-G Debug Only
Same as -g.
-I Add Directory to Include Path
Add a new directory path to the list of included directories. Each -I
option adds a directory to the beginning of the list of paths to search.
For example,
-I <directory1> -I <directory2>
would set up the search path so that directory1 is searched first
for M-files, followed by
directory2. Thisoptionisimportantfor
standalone compilation where the MATLAB path is not available.
-l Generate a Function Library
Macro to create a function library. This option generates a library
wrapper function for each M-file on the command line and calls your C
compiler to build a shared library, which exports these functions. The
library name is the component name, which is derived from the name of
the first M -file on the command line. This macro is equivalent to
-W lib:string link:lib
11-21