MATLAB: Do I receive “mclcommain.dll not found” errors when I try to distribute the COM component created with the MATLAB COM Builder 1.0 (R13)

MATLAB Builder for COMmclcommainmclcommain.dllmglinstaller

I receive "mclcommain.dll not found" errors when I try to distribute my COM component created with the MATLAB COM Builder.

Best Answer

Either of the following two things may cause this error:
1) The package utility is not used to create a self-extracting and self-registering distributable component. For more information on this, refer to the Packaging section of COM Builder Users Guide.
Use the package utility to package and distribute the component.
OR
2) MATLAB Com Builder is using a demo license of MATLAB Compiler, in which case MGLINSTALLER is not included with MATLAB Compiler. MGLINSTALLER is needed to install the run time libraries for the core MATLAB components.
Please note that you cannot distribute COM Builder components created using a Demo license of MATLAB Compiler. You must use the full version of MATLAB Compiler to distribute your component.