From: David on
Slightly related question:

I'm using Visual C++ 2008 express compiler and that works perfectly. I would now like to test with visual C++ 2010 beta. However after installing and running mex -setup, it is not listed.

How can I link this new compiler? Only the old ones are listed:
>> mex -setup
Please choose your compiler for building external interface (MEX) files:

Would you like mex to locate installed compilers [y]/n? y

Select a compiler:
[1] Lcc-win32 C 2.4.1 in C:\PROGRA~1\MATLAB\R2009a\sys\lcc
[2] Microsoft Visual C++ 2008 Express in C:\Program Files\Microsoft Visual Studio 9.0

[0] None


Thanks