Borrar filtros
Borrar filtros

How can I create a DLL that can be called from Excel?

5 visualizaciones (últimos 30 días)
Zhanna
Zhanna el 5 de Mzo. de 2013
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

Respuestas (1)

John Elliott
John Elliott el 6 de Mzo. de 2013
Hi Zhanna, Have you tried setting the target language to C++ when you generate the DLL using MATLAB Coder? -John

Categorías

Más información sobre Data Import from MATLAB en Help Center y File Exchange.

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by