User`s guide
Supported Executable Types
5-31
When calling mbuild to link a library, the .dll file will be
<component_name>_<major>_<minor>.dll. This will prevent new versions
from conflicting with each other. The user never uses the DLL name. It is not
necessary to specify this name to the system because COM locates component
DLLs using the Window’s registry.
The MATLAB Compiler uses the
-b option to generate a Visual Basic (.bas) file
that contains the Microsoft Excel Formula Function interface to the
compiler-generated COM object. When imported into the workbook, this Visual
Basic code allows the MATLAB function to be seen as a cell formula function.
The
-i option causes 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.
The bundle option (
-B) provides a means to replace its expression on the mcc
command line with the contents of the specified file. Also, it lets you include
replacement parameters so that any Compiler options that accept names and
version numbers will be expanded properly.
For more information on the bundle option including the available bundle files,
see “-B <filename>:[<a1>,<a2>,...,<an>] (Bundle of Compiler Settings)” on
page 7-41.
Note You can use the -B option with a replacement expression as is at the
DOS or UNIX prompt. To use
-B with a replacement expression at the
MATLAB prompt, you must enclose the expression that follows the
-B in
single quotes when there is more than one parameter passed. For example,
>>mcc -B csharedlib:libtimefun weekday data tic calendar toc
can be used as is at the MATLAB prompt because libtimefun 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,class,1.0' weekday data tic calendar toc