From: Giuseppe on
Hi Everybody,
I am newbie in Matlab.
I have Matlab version R2009b and I have installed Microsoft Visual Studio 2010. My pc runs Windows XP.
My problem is that when I use the mex -setup command in Matlab command window, Matlab doesn't recognize Visual Studio 2010. In fact, when I type mex -setup, here is what I got:

>> 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\R2009b\sys\lcc

[0] None

Compiler:

What do I need to do/modify to make Matlab select Visual Studio as compiler?
Thanks in advance.
From: Steven Lord on

"Giuseppe " <giuseppe.felicetto(a)yahoo.it> wrote in message
news:i05ot0$6lh$1(a)fred.mathworks.com...
> Hi Everybody,
> I am newbie in Matlab.
> I have Matlab version R2009b and I have installed Microsoft Visual Studio
> 2010. My pc runs Windows XP.
> My problem is that when I use the mex -setup command in Matlab command
> window, Matlab doesn't recognize Visual Studio 2010.

That is correct. Visual Studio 2010 is not a supported compiler for the
latest release of MATLAB:

http://www.mathworks.com/support/compilers/R2010a/index.html

Nor is it a supported compiler for release R2009b.

http://www.mathworks.com/support/compilers/R2009b/

--
Steve Lord
slord(a)mathworks.com
comp.soft-sys.matlab (CSSM) FAQ: http://matlabwiki.mathworks.com/MATLAB_FAQ
To contact Technical Support use the Contact Us link on
http://www.mathworks.com


From: shahnaz fatima on
hai.

i use visual studio 6.0 and matlab recognizes. i think it cannot recognized advanced version 2010.

i gave command in my command window. kindly see this
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++ 6.0 in C:\Program Files\Microsoft Visual Studio

[0] None
From: Giuseppe on
"Steven Lord" <slord(a)mathworks.com> wrote in message <i08v2l$sb$1(a)fred.mathworks.com>...
>
> "Giuseppe " <giuseppe.felicetto(a)yahoo.it> wrote in message
> news:i05ot0$6lh$1(a)fred.mathworks.com...
> > Hi Everybody,
> > I am newbie in Matlab.
> > I have Matlab version R2009b and I have installed Microsoft Visual Studio
> > 2010. My pc runs Windows XP.
> > My problem is that when I use the mex -setup command in Matlab command
> > window, Matlab doesn't recognize Visual Studio 2010.
>
> That is correct. Visual Studio 2010 is not a supported compiler for the
> latest release of MATLAB:
>
> http://www.mathworks.com/support/compilers/R2010a/index.html
>
> Nor is it a supported compiler for release R2009b.
>
> http://www.mathworks.com/support/compilers/R2009b/
>
> --
> Steve Lord
> slord(a)mathworks.com
> comp.soft-sys.matlab (CSSM) FAQ: http://matlabwiki.mathworks.com/MATLAB_FAQ
> To contact Technical Support use the Contact Us link on
> http://www.mathworks.com
>
Thanks everybodyand also to Amund for sending me this link:
http://www.mathworks.com/support/sysreq/roadmap.html
Visual Studio 2010 is planned to be supported in version R2010b.
 | 
Pages: 1
Prev: Matrix 8x8
Next: MTP (MultiParametricToolbox)