MATLAB: Can not choose SDK Compiler

sdk_compiler mex -setup

Hi everyone! I have downloaded and installed the Microsoft Windows SDK for Windows 7 (7.1), Microsoft Visual Studio Premium 2012 and Microsoft Visual Studio Professional 2013 with Update 5 on my Dell XPS L521 Laptop, 64-bit Windows 10 Pro. And I also make sure that the SDK environment variables gets set, but it is also unable. I want to use SDK as my compiler, but it is not in the list when I run the command: mex – setup:
>> mex -setup
MEX configured to use 'Microsoft Visual C++ 2012 (C)' for C language compilation.
Warning: The MATLAB C and Fortran API has changed to support MATLAB variables with more than 2^32-1 elements. In the near future you will be required to update your code to utilize the new API. You can find more information about this at: http://www.mathworks.com/help/matlab/matlab_external/upgrading-mex-files-to-use-64-bit-api.html.
To choose a different C compiler, select one from the following:
Microsoft Visual C++ 2012 (C) mex -setup:C:\Users\Sinh\AppData\Roaming\MathWorks\MATLAB\R2015a\mex_C_win64.xml C
Microsoft Visual C++ 2013 Professional (C) mex -setup:'C:\Program Files\MATLAB\MATLAB Production Server\R2015a\bin\win64\mexopts\msvc2013.xml' C
To choose a different language, select one from the following:
mex -setup C++
mex -setup FORTRAN
**When I click to choose FORTRAN, it have an error message:
Error using mex No supported compiler or SDK was found. For options, visit http://www.mathworks.com/support/compilers/R2015a/win64.html.
How can I add the SDK 7.1 in the list, my Matlab release is Matlab R2015a? Thank you very much!

Best Answer

When you click on Fortran you are asking it to configure for Fortran, but you do not have Fortran installed.
I do not know why it is not listing a way to use SDK 7.1.
Could you expand on why you are not using Microsoft Visual C++ 2013 Professional (C) since you have it?
Related Question