User`s guide

D Troubleshooting
This appendix provides a table showing errors you may encounter using
MATLAB Builder for Excel, probable causes for these errors, and suggested
solutions.
Note MATLAB Builder fo r Excel uses the MATLAB Compiler to generate
components. This means that you might see diagnostic messages from the
MATLAB Compiler. See the MATLAB Compiler documentation for more
information about those messages.
Excel Builder Errors and Suggested Solutions
Message Probable Cause Suggested Solution
MBUILD.BAT: Error: The
chosen compiler does
not support building COM
objects.
The chosen compiler
does not support
building COM objects.
Rerun mbuild -setup and choose a
supported com piler.
Error in
component_name.class_name:
Error getting data
conversion flags.
Usually caused by
mwcomutil.dll not
being registered.
Open a DOS window, change
directories to <matlab>\bin\win32
(<matlab> represents the
location of MATLAB on your
system), and run the command
mwregsvr mwcomutil.dll.
Error in VBAProject:
ActiveX component can't
create object.
Project DLL is not
registered.
An incompatib le
MATLAB DLL exists
somewhere on the
system path.
If the DLL is not registered, open
a D O S window, change directories
to
<projectdir>\distrib
(<projectdir> represents
the location of your project
files), and run the command:
mwregsvr <projectdll>.dll.
Error in VBAProject:
Automation error The
specified module could
not be found.
This usually occurs if
MATLAB is not on the
system path.
See Required Locations to Develop
and Us e Components on page D-4.
D-2