olafbtbw/mexPort
A set of tools that lets you create, build and debug Matlab .mex files using Xcode or MSVC in seconds. mexPort also comes with a nice generic library for importing and exporting multi-dimensional data between Matlab and C/C++. You will also find some examples of wrappers to easily call Matlab functions from C or C++.