MATLAB: What project references should I use when integrating an object built with MATLAB Builder for COM 1.1 (R14) with Visual Basic

basicbuildercomexcelMATLAB Builder EXMATLAB Builder for COMmwcommgrmwcomutilreferencesvbvisual

I have generated a COM object with MATLAB Builder for COM or MATLAB Builder for Excel. I am trying to call the object from Visual Basic and need to add Project References. Following the examples in MATLAB's documentation, I mark the selections for my object and for the MWComUtil 1.0 Type Library. However, when I try to run the code I receive multiple error messages. Each one states:
The specified procedure could not be found.
and references a dll.

Best Answer

This bug has been fixed for Release 14 SP1 (R14SP1). For previous releases, please read below for any possible workarounds:
We have verified that there is an error in the documentation for MATLAB Builder for COM 1.1 (R14) and MATLAB Builder for Excel 1.2 (R14) in the references it states must be selected.
To work around this issue, try unselecting the MWComUtil 1.0 Type Library and then selecting the MWComUtil 7.0 Type Library and the MWComMgr 7.0 Type Library.