Thread Subject: Setting-up LCC compiler on MatLab 7.6 (R2008a)

Subject: Setting-up LCC compiler on MatLab 7.6 (R2008a)

From: Carlos Ribeiro

Date: 29 Aug, 2008 16:47:01

Message: 1 of 3

Hi!

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

Subject: Setting-up LCC compiler on MatLab 7.6 (R2008a)

From: Freelance Embedded Systems Engineer

Date: 30 Aug, 2008 01:19:54

Message: 2 of 3

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

Subject: Setting-up LCC compiler on MatLab 7.6 (R2008a)

From: Rodney Thomson

Date: 1 Sep, 2008 04:43:02

Message: 3 of 3

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

Tags for this Thread

Everyone's Tags:

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Tag Activity for This Thread
Tag Applied By Date/Time
compiler Carlos Ribeiro 29 Aug, 2008 12:50:03
mex Carlos Ribeiro 29 Aug, 2008 12:50:03
lcc Carlos Ribeiro 29 Aug, 2008 12:50:03
rssFeed for this Thread

Contact us at files@mathworks.com