I have created a shared library from C-code to be used with MATLAB’s generic DLL interface. For example, I have compiled a shared library named mylib.dll with header files mylib1.h and mylib2.h. I am trying to load the library with the following command:
loadlibrary(‘mylib.dll’,’mylib1.h’,’addheader’,’ mylib2.h’)
This loads the library without complaint, but I am able to use only the functionality that is prototyped in the first header file.
Best Answer