Thank you so much for you sharing of this great work.. I tried to run it but I can not, this what happen with me:
1- I run it on Windows 7
2- I used mex -setup and I select " Microsoft Visual C++ 2010 " as a compiler.
3- I included data to path.
4- I save the whole folder for toolbox outside matlab.
5- I end with this error when I tried to compile mex :
??? Error using ==> mex at 208
Unable to complete successfully.
Error in ==> compile_mex_codes at 1