How do you use C++ dll in matlab???

  • Follow


Hello,
I want to use a preexisting C++ dll in matlab. Everything that I've read online involves modifying the source code (that is, the C++ source code) to include extern C around the functions. All I have is the dll and header from the manufacturer. So how does one use a C++ dll without the ability to modify the C++ source code?

Do I just modify the header to include the extern C statement and then inside the computational routine of the mex file I should just use loadlibrary() and function to access the dll?

I'm extremely confused and any help would be greatly appreciated.
0
Reply gary 10/24/2010 5:57:04 AM


0 Replies
419 Views

(page loaded in 0.01 seconds)

Similiar Articles:













7/23/2012 7:52:21 PM


Reply: