User`s guide

E Troubleshooting
E-2
This section provides a table showing errors you may encounter using
MATLAB Excel Builder, probable causes for these errors, and suggested
solutions.
Table E-1: MATLAB 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 compiler.
Error in
component_name.class_name.1_0:
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.
1. Project DLL is not
registered.
2. An incompatible
MATLAB DLL exists
somewhere on the
system path.
If the DLL is not registered,
open a DOS 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.
Place <matlab>\bin\win32 on
your path.