mex -setup (SDK-7.1 for matlab 2020b)

hello,
In normally, I am using matlab 2016b and when I wrote mex -setup on the workspace, I can select the windows sdk 7.1 as shown in figure 1.
But now, I want to use matlab 2020b on the same computer. I have installed matlab 2020b and when I wrote mex -setup
I couldn't find the microsoft windows SDK 7.1 as shown in figure 2. How to use microsoft windows SDK 7.1 for the matlab 2020b? What is the solution?

 Accepted Answer

Rik
Rik on 11 Jan 2021
The solution is to use a different compiler, as the SDK 7.1 is not supported for R2020b. You can find the full list here.
I would suggest getting the MinGW-compiler from the FileExchange. From what I understand it is not always the most efficient/best compiler, but since I started using this package around R2017b, I never had an easier setup. It. Just. Works.

More Answers (0)

Categories

Products

Release

R2020b

Asked:

on 11 Jan 2021

Answered:

Rik
on 11 Jan 2021

Community Treasure Hunt

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

Start Hunting!