problem with Mex -setup in vista 64 system



I bought a new compueter with vista 64 OS, and Matlab v2008a, I also installed visual studio 2008 in full, and downloaded SDK from microsoft and installed as well.

When I run mex -setup in the command windows, it shows:

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] Microsoft Visual C++ 2008 in C:\Program Files (x86)\Microsoft Visual Studio 9.0

[0] None

Compiler: 1

Please verify your choices:

Compiler: Microsoft Visual C++ 2008
Location: C:\Program Files (x86)\Microsoft Visual Studio 9.0

Are these correct [y]/n? y

***************************************************************************
Warning: MEX-files generated using Microsoft Visual C++ 2008 require
that Microsoft Visual Studio 2008 run-time libraries be
available on the computer they are run on.
If you plan to redistribute your MEX-files to other MATLAB
users, be sure that they have the run-time libraries.
You can find more information about this at:
http://www.mathworks.com/support/solutions/data/1-2223MW.html
***************************************************************************

Trying to update options file: C:\Users\Student\AppData\Roaming\MathWorks\MATLAB\R2008a\mexopts.bat
From template: C:\PROGRA~1\MATLAB\R2008a\bin\win64\mexopts\msvc90opts.bat

Done . . .

*********************************************************************
Warning: The MATLAB C and Fortran API has changed to support MATLAB
variables with more than 2^32-1 elements. In the near future
you will be required to update your code to utilize the new
API. You can find more information about this at:
http://www.mathworks.com/support/solutions/data/1-5C27B9.html?solution=1-5C27B9
Building with the -largeArrayDims option enables the new API.
*********************************************************************

And when I run one simulink model with EML block, it shows:


C:\Users\XXXX\slprj\_sfprj\EML_wrapper\_self\sfun\src>"c:\program files\matlab\r2008a\sys\lcc\bin\lccmake" -f EML_wrapper_sfun.lmk
The system cannot find the path specified.

But I don't remember when I set the path for "...\bin\lccmake", does anyone know how could I fix this problem and make it run.

thanks all the way!
.



Relevant Pages

  • Re: MinGW and Perl 5.12 - Windows 64 bits ActiveState
    ... available compiler from Microsoft, only 32 bits:( ... ++ The specified configuration type is missing. ... ++ Setting environment for using Microsoft Visual Studio 2008 x86 ...
    (comp.lang.perl.misc)
  • Re: Locating Compilers in Matlab
    ... I'm trying to install Mathematica Symbolic Toolbox for MATLAB on ... the same compiler and linker that ship with Visual Studio .NET 2003 Professional. ...
    (comp.soft-sys.matlab)
  • Re: How to use MATLAB R2007b with Microsoft Visual Studio 2008?
    ... Microsoft Visual Studio .NET 2003/Common7/IDE/ ... I need to change the default MATLAB compiler. ... > Thank you, Idil ...
    (comp.soft-sys.matlab)
  • Re: Locating Compilers in Matlab
    ... Michael Wild wrote: ... I'm trying to install Mathematica Symbolic Toolbox for MATLAB on ... the same compiler and linker that ship with Visual Studio .NET 2003 Professional. ...
    (comp.soft-sys.matlab)
  • MSVS ERROR
    ... I'm trying to connect the matlab 7.0with microsoft visual studio 2008... ... Would you like mbuild to locate installed compilers /n? ... Select a compiler: Lcc C version 2.4 in C:\MATLAB7\sys\lcc ...
    (comp.soft-sys.matlab)