Why do I receive an error message when trying to call my COM component created by the MATLAB COM Builder?

1 view (last 30 days)
Why do I receive the error message "Can't file ####.fig." when trying to call my COM component created by the MATLAB COM Builder?
I successfully built a slightly complex GUI program into a COM object. However, I receive the following error message when I invoke this COM object from Excel:
Can't find file myfigure.fig

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 27 Jun 2009
This error occurs because the directory location of the .fig file referred to within the error message differs from the directory of the COM DLL. This error can be resolved by placing the .fig file associated with your application in the same directory location as the COM DLL.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!