From: Alessio on
Dear All,
I have to build a mex Fortran files with a DLL library as output. However, when I use
the mex command from Matlab command window, the output I obtain is always an
EXE program, which is not what I want.

So, how can I set the mexopts options to get a DLL instead of EXE???.

I'm using the Intel Fortran Compiler 10.1 and Matlab 2009b.

Thanks in advance