User`s guide
mcc
7-47
-Y <license.dat File>. Use license information in license.dat file when checking
out a Compiler license.
mbuild/mex Options
-f <filename> (Specifying Options File). Use the specified options file when calling
mex or mbuild. This option allows you to use different compilers for different
invocations of the MATLAB Compiler. This option is a direct pass-through to
the
mex or mbuild script. See “External Interfaces/API” in the MATLAB
documentation for more information about using this option with the
mex
script.
Note Although this option works as documented, we suggest that you use
mex -setup or mbuild -setup to switch compilers.
-G (Debug Only). Cause mex or mbuild to invoke the C/C++ compiler with the
appropriate C/C++ compiler options for debugging. You should specify
-G if you
want to debug the MEX-file or stand-alone application with a debugger.
-M "string" (Direct Pass Through). Pass string directly to the mex or mbuild script.
This provides a useful mechanism for defining compile-time options, e.g.,
-M "-Dmacro=value".
-w enable[:<string>]
Enables specific warning associated with
<string>. Appendix B, “Error and Warning
Messages” lists the valid
<string> values.
Leave off the optional
:<string> to apply the
enable action to all warnings.
-w error[:<string>]
Treats specific warning associated with
<string> as error. Leave off the optional
:<string> to apply the error action to all
warnings.
Table 7-12: Warning Option (Continued)
Syntax Description