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)
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
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.
NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for
all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content.
Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available
via MATLAB Central.
Read the complete Terms prior to use.