How to install the mex setup in windows 10 2014b matlab edition?

7 vues (au cours des 30 derniers jours)
ASHUTOSH PADHY
ASHUTOSH PADHY le 27 Oct 2015
Commenté : Walter Roberson le 30 Oct 2015
I want to use xpc target(real time simulation) which requires host pc should have the c++ compiler.

Réponse acceptée

Sudhanshu Bhatt
Sudhanshu Bhatt le 29 Oct 2015
Modifié(e) : Sudhanshu Bhatt le 30 Oct 2015
Hi ASHUTOSH PADHY,
I understand you are looking for information on supported compilers:
For Windows 64 bit OS, below are the links that list supported compilers:
Information on how to choose a compiler and examples on using MEX can be found in the documentation link below:
If this does not resolve your issue, please create a Technical Support Request, by visiting the link below:
Thanks
Sudhanshu Bhatt
  1 commentaire
ASHUTOSH PADHY
ASHUTOSH PADHY le 30 Oct 2015
Modifié(e) : Walter Roberson le 30 Oct 2015
Hi Sudhanshu,
Thank you for the info. Now in 2014b ver. also possible to build the model for Real-time simulation.

Connectez-vous pour commenter.

Plus de réponses (1)

Walter Roberson
Walter Roberson le 29 Oct 2015
Although Sudhanshu Bhatt's information is correct as far as it goes, he did not happen to notice that you are using Windows 10. If you are using Windows 10, then the only known way to get a compiler to work is to use MATLAB R2015b. All earlier versions of MATLAB rely upon a Microsoft Runtime that is not compatible with Windows 10 due to a Microsoft bug.
  2 commentaires
ASHUTOSH PADHY
ASHUTOSH PADHY le 30 Oct 2015
Hi Walter, 2014b is compatible with c compiler. Thanks for the info.
Walter Roberson
Walter Roberson le 30 Oct 2015
There are multiple components needed to get MEX to work on MS Windows. There is the compiler itself, and there is the .NET version, and there is the Microsoft Runtime libraries.
MS Windows 10 requires a version of .NET that is not compatible with MATLAB R2014b. With Windows 8.1, you were able to get around the problem by uninstalling the newer .NET, then installing the older .NET, then installing the newer .NET again. However, in MS Windows 10, you cannot do this, if I understand correctly. Even if you can manage to get the .NET compatible...
MS Windows 10 is not compatible with the Microsoft Runtime libraries needed for any version of MATLAB before R2015b. This is a Microsoft bug.
In summary, although you can get some versions of MATLAB before R2015b to run on MS Windows 10, you will not be able to get the compilers to work, according to the information I have seen. (If someone has gotten the compilers to work for earlier versions, they have not posted the information.)

Connectez-vous pour commenter.

Catégories

En savoir plus sur Introduction to Installation and Licensing dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by