??? Undefined command/function 'somma_init'.
Info
This question is closed. Reopen it to edit or answer.
Show older comments
I'm trying to create a DLL with Visual Studio, and then i'd like to use it in Matlab using the "loadlibrary('xxx.dll','xxx.h')".
The Dll seems correctly compiled in Visual Studio, and when i use the loadlibrary of Matlab, on the "command windows" nothing error appear.
But, when i call the function defined in the Dll, the error "??? Undefined command/function 'somma_init'.", has shown
Can you help me about this point?, I can share the code of Dll written in Visual studio.
thanks.
2 Comments
Ryan Livingston
on 28 Sep 2020
I think you need to use the calllib function to invoke the function:
Giampaolo MOPA
on 2 Oct 2020
Edited: Giampaolo MOPA
on 2 Oct 2020
Answers (0)
This question is closed.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!