Hi, I have a vendor dll which I am trying to use with Matlab. I have a C code which calls this dll using GetProcAddress and then does lot of math with the data.
Now I know that I can use loadlibrary and calllib in Matlab to do the same. But then I would like to use the rest of the C code for fast simulation. However, I need to wrap this code in Matlab mex routine because I want to develop a Matlab GUI.
So my question is - how to write a C mex file which uses this C code? Or more specifically, should I retain the GetProcAddress in the mex code or should I replace those with calllib? Thanks rajn