You have a c++ project... well the idea is to have a script which can automatically parse it to generate a mex function directly callable from MATLAB.. sounds awesome right ;)