Path: news.mathworks.com!not-for-mail
From: "Rodney Thomson" <readmore@iheartmatlab.blogspot.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Setting-up LCC compiler on MatLab 7.6 (R2008a)
Date: Mon, 1 Sep 2008 04:43:02 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 41
Message-ID: <g9frsm$obi$1@fred.mathworks.com>
References: <g99965$jh0$1@fred.mathworks.com> <48B8A03A.5030607@yahoo.com>
Reply-To: "Rodney Thomson" <readmore@iheartmatlab.blogspot.com>
NNTP-Posting-Host: webapp-05-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1220244182 24946 172.30.248.35 (1 Sep 2008 04:43:02 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Mon, 1 Sep 2008 04:43:02 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1430350
Xref: news.mathworks.com comp.soft-sys.matlab:488060



Freelance Embedded Systems Engineer <g9u5dd43@yahoo.com>
wrote in message <48B8A03A.5030607@yahoo.com>...
> Carlos Ribeiro wrote:
> > I'm trying to setup a C compiler in Matlab 7.6 (with 
> > Simulink 7.1 and MATLAB Compiler 4.8) but when I run the 
> > command "mex -setup", no compiler is identified. Not
even LCC.
> >>> 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: 
> > [0] None 
> > Compiler: 
> > The LCC compiler is good enough for me, but where is it?!
> > Doesn't it come with Matlab? Any help is more than welcome. 
> > Thanks, Carlos
> 
> Did you try searching the Matlab folder for "lcc*.*"?
> Mines is at: 
> 	C:\Program Files\MATLAB\R2008a\sys\lcc\bin
> 
> I'm not using lcc.exe. 
> I'm using the free Microsoft Visual Studio Express 2008.
> Instructions in Matlab Central for using the 2005 version
are still valid.
> http://www.microsoft.com/express/vc/
>
http://www.mathworks.com/matlabcentral/files/13321/mex+MSVCExpress.pdf

Are you using 64 bit windows? I've heard that 64 bit
installations of Matlab do not come with the LCC compiler.

The original solution file has disappeared but cached in
Google:
http://209.85.173.104/search?q=cache:p9daceAHh24J:www.mathworks.com/support/solutions/data/1-4390H5.html%3Fproduct%3DCO%26solution%3D1-4390H5+lcc+matlab+64+bit&hl=en&ct=clnk&cd=1&gl=au&client=firefox-a

Rod

--
http://iheartmatlab.blogspot.com