Error using mex: No supported compiler or SDK was found

3 views (last 30 days)
_

Answers (2)

Fangjun Jiang
Fangjun Jiang on 20 Apr 2018
Edited: Walter Roberson on 19 Oct 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.

Shounak Shastri
Shounak Shastri on 20 Apr 2018
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 Comments
Shounak Shastri
Shounak Shastri on 20 Apr 2018
Edited: Shounak Shastri on 20 Apr 2018
Sorry this Min64 compiler is for 2015b and above. You probably need .NET framework.
NNL
NNL on 20 Apr 2018
thank you so much. .NET framework is also installed and updated. But it does not work.

Sign in to comment.

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!