Borrar filtros
Borrar filtros

Not found compiler matlab

7 visualizaciones (últimos 30 días)
Petr
Petr el 18 de Mayo de 2014
Respondida: Dhanyatha el 16 de Jun. de 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 comentario
Henric Rydén
Henric Rydén el 19 de Mayo de 2014
Hi, can you post the output of ver?

Iniciar sesión para comentar.

Respuestas (1)

Dhanyatha
Dhanyatha el 16 de Jun. de 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

Categorías

Más información sobre Troubleshooting in MATLAB Compiler SDK en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by