I'm using Matlab R2010a. I need to create a custom block embedded with my code for which i require mex. I have Visual Studio Express 2010 installed on my system. I followed the instructions and installed the mex patch for R2010a into the matlabroot folder using the unzip command. I also installed Windows SDK 7.1 64 bit as recommended. However when i type mex -setup no compiler is shown. Any alternative solutions?