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

1 view (last 30 days)
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.

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 27 Jun 2009
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.

More Answers (0)

Categories

Find more on Data Export to MATLAB in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!