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 |
|