MWrap is a compiler for a mini-language that simplifies the process of interfacing MATLAB to C via MEX (the MATLAB EXternal interface system). MWrap plays a similar role to Cython in the Python ecosystem: it allows one to produce MATLAB/C hybrids using a single integrated script. Someone has added this to the Ubuntu universe, so you can download it via apt-get if you use Ubuntu.

Zydrunas Gimbutas has contributed patches to keep MWrap working with recent MATLAB updates (I have forked his GitHub repository for the new “official” home of MWrap), and Alex Barnett has contributed some nice demos.