Builder Ex - compiling with .mat file included using Excel Compiler
조회 수: 1 (최근 30일)
이전 댓글 표시
Excel returns an error when i try to use an add-in compiled from MATLAB.
I have a function which pulls and returns data from a local .mat file. I included the function as a Class, and the .mat file as shared resources in the Deployment Tool. I then built/packaged them into an .exe file. After installing the package, I add the module from within Excel. When i run the function from the Command Window, it is fine. But when I try to use the command from Excel, which it recognizes, I get the error "Error in RetStocks.Class1.1_0:", RetStocks being the name of the function.
Does anyone know what I'm doing wrong?
Thanks.
댓글 수: 0
채택된 답변
Madhura Suresh
2013년 8월 26일
If you want to use your compiled component in Excel, you will have to compile it into an Excel add-in, not as an exe. This option can be selected from the dropdown when using deploytool.
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Data Export to MATLAB에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!