From: Akim on
Dear all,

Can I somehow trick my Matlab v7.1 to believe that my Visual Studio Express v9 is a v7? Visual Studio v7 does not seem to be available online (although v8 is). "mex myfile.c" doesn't work when I select [11] or [12] below.

EDU>> mex -setup
Please choose your compiler for building external interface (MEX) files:

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

Select a compiler:
[1] Borland C++Builder version 6.0
[...]
[10] Lcc C version 2.4.1
[11] Microsoft Visual C/C++ version 7.0
[12] Microsoft Visual C/C++ version 7.1
[13] Microsoft Visual C/C++ version 6.0
[14] Microsoft Visual C/C++ version 5.0
[15] Open WATCOM C/C++ version 1.3
[...]
From: Rune Allnor on
On 28 Des, 07:43, "Akim " <a...(a)bbb.ccc> wrote:
> Dear all,
>
> Can I somehow trick my Matlab v7.1 to believe that my Visual Studio Express v9 is a v7?

I don't know. You can, however, modify the mex setup
to recognize newer compilers. I did this some time ago
to get VS2008 to work with matlab R2006a.

I don't remember the details, but search the FEX for
instructions.

Rune