Error using mex: No supported compiler or SDK was found

Risposte (2)

Fangjun Jiang
Fangjun Jiang il 20 Apr 2018
Modificato: Walter Roberson il 19 Ott 2023
VC 2017 certainly won't be recognized by MATLAB R2015a. But SDK 7.1 should be supported. Make sure you have NET Framework 4.0.
Follow link on this page to find the exact detail.
You need to download and install a compiler first.
Go to the add-ons and click on get add-ons. You will get a list of add-ons which you can install.
Install MinGW-w64 GCC from the list and then run the mex setup.
Hope this helps.

3 Commenti

you mean this add-ons in the Environment section?

There is no add-ons in Enviroment section in Matlab 2015a. But there is an add-ons in the resources section.

 However, i can not open the add-ons explorer with it. 
Sorry this Min64 compiler is for 2015b and above. You probably need .NET framework.
thank you so much. .NET framework is also installed and updated. But it does not work.

Accedi per commentare.

Categorie

Tag

Richiesto:

NNL
il 20 Apr 2018

Modificato:

il 19 Ott 2023

Community Treasure Hunt

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

Start Hunting!

Translated by