MEX file is not compiled in MATLAB 2015a in windows 10

2 views (last 30 days)
I have windows 10 and matlab 2015a and visual studio 2015 and .NET FRAMEWORK 4.6. but whenever I try to compile the file it gives me the error you don't have win7.1 SDK. win7.1 SDK requires .NET FRAMEWORK 4.0 and whenever I try to install .NET FRAMEWORK 4.0 it gives prompts me that you already have a higher version of .NET FRAMEWORK 4.0 so you cannot install.

Answers (1)

Walter Roberson
Walter Roberson on 20 Nov 2015
R2015a is not compatible with using compilers on Windows 10, due to bugs in Windows 10.
I did see one person say they managed to do it. What they did was install (on a clean disk) a previous version of MS Windows with .NET 4.0 and SDK 7.1 and MATLAB R2015a, and then they upgraded that to Windows 10.
  6 Comments
Muhammad Usman Saleem
Muhammad Usman Saleem on 28 Dec 2017
@ Walter Roberson will you guide me what I have to do to fix this error?
Walter Roberson
Walter Roberson on 1 Jan 2018
Which compiler did you install? If it was Visual Studios then was it Professional, or was it Express, or was it Community ?

Sign in to comment.

Categories

Find more on Get Started with MATLAB Compiler SDK in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!