How can I create a DLL that can be called from Excel?
조회 수: 7 (최근 30일)
이전 댓글 표시
Hello,
I've created a simple DLL using MatLab Coder. I can successfully call dynamic library functions from MS Visual Studio 2010 project, but unable to do it from Excel 2010, as they have different calling conventions: Matlab compiles with cdecl and Excel can only call with stdcall.
Has anyone had some experience with DLLs for Excel made in Matlab? I'll be glad for any suggestions.
Thanks
댓글 수: 0
답변 (1개)
John Elliott
2013년 3월 6일
Hi Zhanna, Have you tried setting the target language to C++ when you generate the DLL using MATLAB Coder? -John
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Data Import from MATLAB에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!