Filter löschen
Filter löschen

Not found compiler matlab

7 Ansichten (letzte 30 Tage)
Petr
Petr am 18 Mai 2014
Beantwortet: Dhanyatha am 16 Jun. 2014
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 Kommentar
Henric Rydén
Henric Rydén am 19 Mai 2014
Hi, can you post the output of ver?

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Dhanyatha
Dhanyatha am 16 Jun. 2014
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

Kategorien

Mehr zu Troubleshooting in MATLAB Compiler SDK finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by