From: rrocrr on
I'm trying to compile a mex file in MATLAB 2007a but when I type mex filename.cpp I get "fatal error C1083" and says it can't find the header file. If I build the project in MS VC++ 2008 Express, I have no problems. Any suggestions are appreciated.

VC++ 2009 Ex is already set as my compiler in MATLAB.