The link in your README to download MSVS2008 no longer works
I downloaded it from http://www.baixaki.com.br/download/visual-c-2008-express-editions.htm (but it's in Portuguese)
and Windows SDK for Windows Server 2008 and .NET Framework 3.5 from http://www.microsoft.com/en-us/download/details.aspx?id=11310
Thanks for this code, I'm trying to get this working with Windows XP, 32bit, Matlab R2009b. VS-2010.
Whilst I'm not getting any errors when I run mex -setup I don't get my c++ compiler in the list, just
Lcc-win32 C 2.4.1 in C:\PROGRA~1\MATLAB~1\R2009b\sys\lcc
If anyone could offer a solution I'd be grateful, going in circles on this.