First step is to see if you can use loadlibrary interface in MATLAB.
See this section of the documentation on how to call C Shared library functions from MATLAB: http://www.mathworks.com/help/releases/R2011b/techdoc/matlab_external/f23224dfi7.html
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!