Effacer les filtres
Effacer les filtres

Why can not choose SDK Compiler

3 vues (au cours des 30 derniers jours)
sinh
sinh le 10 Sep 2015
Commenté : Walter Roberson le 16 Fév 2017
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!
  2 commentaires
Michael Epstein
Michael Epstein le 16 Fév 2017
same problem here --- I'm not finding an answer yet.
Walter Roberson
Walter Roberson le 16 Fév 2017
Michael Epstein: Which operating system are you using, and which compilers do you have installed, and what is the log if you use mex -v -setup ?

Connectez-vous pour commenter.

Réponse acceptée

Walter Roberson
Walter Roberson le 10 Sep 2015
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?

Plus de réponses (0)

Catégories

En savoir plus sur MATLAB Compiler dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by