Not found compiler matlab

조회 수: 3 (최근 30일)
Petr
Petr 2014년 5월 18일
답변: Dhanyatha 2014년 6월 16일
I am using windows 7 64 bit and installed visual c++ express 2010, matlab 2010a but still i am unable to find any compiler. But i installed Microsoft Windows SDK for Windows 7 and .NET Framework 4. I get the following error:
Select a compiler:
[0] None
Compiler: 0
mex: No compiler selected. No action taken.
**************************************************************************
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/en/data/1-5C27B9/?solution=1-5C27B9
Building with the -largeArrayDims option enables the new API.
**************************************************************************
C:\PROGRA~1\MATLAB\R2010A\BIN\MEX.PL: Error: No compiler options file could be found to compile source code. Please run "mex -setup" to rectify.
  댓글 수: 1
Henric Rydén
Henric Rydén 2014년 5월 19일
Hi, can you post the output of ver?

댓글을 달려면 로그인하십시오.

답변 (1개)

Dhanyatha
Dhanyatha 2014년 6월 16일
You are encountering this error as you are trying to compile a program, but not mentioning which compiler to use. Run “mex –setup” command on MATLAB console to choose a compiler. Since you are using Windows (64-bit) platform, no C compiler is supplied with MATLAB. You should install one of the supported compilers for MATLAB 2010a.
If you are using the Express version of Visual C++ 2010, Windows SDK 7.1 is required. Visual C++ 2010 support requires a patch to R2010a. See here for information on MEX support files

카테고리

Help CenterFile Exchange에서 Troubleshooting in MATLAB Compiler SDK에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by