Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: No Compilers in my Matlab 7.5 64-bit?
Date: Sat, 18 Apr 2009 07:19:03 +0000 (UTC)
Organization: University College Dublin
Lines: 34
Message-ID: <gsbut7$lgv$1@fred.mathworks.com>
References: <gs5bv5$laa$1@fred.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-02-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1240039143 22047 172.30.248.37 (18 Apr 2009 07:19:03 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Sat, 18 Apr 2009 07:19:03 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 87230
Xref: news.mathworks.com comp.soft-sys.matlab:533660


"Daniel " <djs32@buffalo.edu> wrote in message <gs5bv5$laa$1@fred.mathworks.com>...
> Hello,
> 
> I need to compile a .cpp file in my Matlab 7.5.0 Win XP 64-bit but when I type 'mex -setup', it says the following:
> 
> Please choose your compiler for building external interface (MEX) files: 
>  
> Would you like mex to locate installed compilers [y]/n? y
>  
> Select a compiler: 
>  
> [0] None 
>  
> Compiler: 0
> 
> I am new to compiling with Matlab.  I do not have Visual Studio installed on this computer.  Is it necessary to have this installed?  Can I download and install the appropriate compiler from a website?
> 
> Thanks for any help!
> -Dan


Visual C++ 2008 Express works with Matlab 2007a (64bit) and above.

All the information you need is here : 

http://www.mathworks.com/matlabcentral/fileexchange/22689.

After unzipping the file be sure to read the readme.txt file in the 64-bit subdirectory. This file gives complete instructions on what to download etc.

I used it to compile Tim Davis's Sparse Suite, which should test if your installation is correct.

Regards,

Derek O'Connor