User`s guide
mcc
7-33
-S (Simulink S-Function). Produce a Simulink S-function that is compatible with
the Simulink S-Function block. For example, to translate an M-file named
mymfile.m into C and to create the corresponding Simulink S-function using
dynamically sized inputs and outputs, use
mcc -S mymfile
The -S option is equivalent to the series of options
-W simulink -L C -t -T link:mex libmatlbmx.mlib
or
-B macro_option_s
-x (MEX-Function).
Produce a MEX-function. For example, to translate an M-file
named
mymfile.m into C and to create the corresponding MEX-file that can be
called directly from MATLAB, use
mcc -x mymfile
The -x option is equivalent to the series of options
-W mex -L C -t -T link:mexlibrary libmatlbmx.mlib
or
-B macro_option_x
Bundle Files
-B ccom (C COM Object). Produce a C COM object. The -B ccom option is
equivalent to the series of options
-t -W com:<component_name>,<class_name>,<version> -T link:lib
-h libmmfile.mlib -i
-B cexcel (C Excel COM Object).
Produce a C Excel COM object. The -B cexcel
option is equivalent to the series of options
-B excel:<component_name>,<class_name>,<version> -T link:lib
-h libmmfile.mlib -b -i
-B csglcom (C Handle Graphics COM Object).
Produce a C COM object that uses
Handle Graphics. The
-B csglcom option is equivalent to the series of options