User`s guide
mcc
7-44
The -h option purposely does not include built-in functions or functions that
appear in the MATLAB M-File Math Library portion of the C/C++ Math
Libraries. This prevents compiling functions that are already part of the C/C++
Math Libraries. If you want to compile these functions as helper functions, you
should specify them explicitly on the command line. For example, use
mcc -m minimize_it fminsearch
instead of
mcc -m -h minimize_it
-i (Include Exported Interfaces).
Cause the Compiler to include only the M-files that
are specified on the command line as exported interfaces. If additional M-files
are compiled as a result of being located by the
-h option, they are not included
in the exported interface that is produced by the MATLAB Compiler.
-I <directory> (Directory Path). Add a new directory path to the list of included
directories. Each
-I option adds a directory to the end of the current search
path. For example,
-I <directory1> -I <directory2>
would set up the search path so that directory1 is searched first for M-files,
followed by
directory2. This option is important for stand-alone compilation
where the MATLAB path is not available.
-o <outputfile>. Specify the basename of the final executable output (stand-alone
applications only) of the Compiler. A suitable, possibly platform-dependent,
extension is added to the specified basename (e.g.,
.exe for PC stand-alone
applications).
Note You cannot use this option to specify a different name for a MEX-file.
-t (Translate M to C/C++). Translate M-files specified on the command line to
C/C++ files.
-T <target> (Output Stage). Specify the desired output stage. Table 7-11, Output
Stage Options, gives the possible values of
target.