User`s guide
Using Bundle Files
Note You can us e the -B option with a replacem ent expression as is at the
DOS or UNIX prompt. To use
-B with a replacement expression at the
MATLAB prompt, you m ust enclose the expression that follows the
-B in
single quotes when there is m ore than one parameter passed. For example,
>>mcc -B csharedlib:libtimefu n weekda y data tic calendar toc
canbeusedasisattheMATLABpromptbecauselibtimefun is the only
parameter being passed. If the example had two or more parameters, then
the quotes would be necessary as in
>>mcc -B 'cexcel:component,cl ass,1.0' ...
weekday data tic calendar toc
See the follow ing table for a list of bundle files available with MATLA B
Compiler.
Bundle File Creates Contents
cpplib
C++ Library
-W cpplib:<shared_lib rary _name> -T link:lib
csharedlib
C Shared Library
-W lib:<shared_librar y_na me> -T link:lib
Note Additional bundle files are available when you have a license for
products layered on MATLAB Compiler. For example, if you have a license for
MATLAB Builder for .NET, you can use the
mcc command with bundle files
that create COM objects and .NET objects.
5-9