Error using mex No supported compiler or SDK was found.

Hey i am using Matlab 2017a and Visual Studio Enterprise 2015. Typing mex -setup in the Command Prompt results in this Error: "Error using mex No supported compiler or SDK was found."
ok now i got it. did not have the c++ part in visual studio installation checked -.-''

Antworten (1)

Jan
Jan am 15 Mai 2017
Bearbeitet: Jan am 15 Mai 2017

0 Stimmen

The first point to start at such problems is the examination of the documentation:
There you find a list of the supported compilers:
  • Microsoft Visual C++ 2017 Family12
  • Microsoft Visual C++ 2015 Professional
  • Microsoft Visual C++ 2013 Professional
  • Microsoft Visual C++ 2012 Professional
  • Microsoft Windows SDK 7.1
The error message sound like "Visual Studio Enterprise 2015" is not supported.

1 Kommentar

Visual Studio Enterprise 2015 contains everything Visual Studio Professional 2015 has.
my mistake was to check the c++ compiler in the visual studio installation -.-'' (bad mistake)

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Write C Functions Callable from MATLAB (MEX Files) finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 15 Mai 2017

Community Treasure Hunt

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

Start Hunting!

Translated by