A C++ wrapper for MATLAB's mex interface, designed to be: