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.
|
|
|
|
LoadLibrary("component_name _1_0.dll") failed - The specified module could not be found.
|
You may get this error message while registering the project DLL from the DOS prompt. This usually occurs if MATLAB is not on the system path.
|
Place <matlab>\bin\win32 on your path.
|
Cannot recompile the M file xxxx because it is already in the library libmmfile.mlib.
|
The name you have chosen for your M-file duplicates the name of an M-file already in the library of precompiled M-files.
|
Rename the M-file, choosing a name that does not duplicate the name of an M-file already in the library of precompiled M-files.
|