User`s guide

mcc
7-40
Caution When generating function wrappers, you must specify all M-files
that are being linked together on the command line. These files are used to
produce the initialization and termination functions as well as global variable
definitions. If the functions are not specified in this manner, undefined
symbols will be produced at link time or run-time crashes may occur.
lib:<string>
Produces an initialization and termination
function for use when compiling this
Compiler-generated code into a larger
application. This option also produces a
header file containing prototypes for all
public functions in all M-files specified.
<string> becomes the base (file) name for the
generated C/C++ and header file. Creates a
.exports file that contains all nonstatic
function names.
com:<component_name>[,<class_name>
[,<major>.<minor>]]
Produces a COM object from MATLAB
M-files.
comhg:<component_name>[,<class_name>
[,<major>.<minor>]]
Produces a Handle Graphics COM object from
MATLAB M-files.
excel:<component_name>[,<class_name>
[,<major>.<minor>]]
Produces a COM object from MATLAB
M-files.
excelhg:<component_name>[,<class_name>
[,<major>.<minor>]]
Produces a Handle Graphics COM object from
MATLAB M-files.
none
Does not produce a wrapper file. The default
is
none.
Table 7-10: Function Wrapper Types (Continued)
<Type> Description