Why does 'mex -setup' not list Microsoft Visual Studio 2005 as one of the available compilers in MATLAB (R2007b) on 64-bit Windows machine?

4 vues (au cours des 30 derniers jours)
I installed Microsoft Visual Studio 2005 (8.0 Prof. Ed.) on 64-bit Windows machine. However when I execute:
mex -setup
at the MATLAB Command prompt, Microsoft Visual C++ 2005 compiler does not get listed as one of the available compilers.

Réponse acceptée

MathWorks Support Team
MathWorks Support Team le 20 Fév 2023
Modifié(e) : MathWorks Support Team le 1 Avr 2023
To use Microsoft Visual Studio 2005 with MATLAB on 64-bit systems, "x64 Compilers and Tools" must be chosen during installation of Microsoft Visual Studio 2005.
This information can also be found in Tech Note: 1601 - Supported/Compatible Compilers:
The X64 compilers and tools option is not selected by default when installing Microsoft Visual Studio 2005. To check if you have it installed, please follow the steps listed below:
1. Go to the Start -> Settings -> Control Panel -> Add/Remove Programs.
2. Click on the Change/Remove button next to the listing for Microsoft Visual Studio 2005 Professional Edition.
3. Click on the Next button, and go to the Add or Remove Features section.
4. Now, drop in to the Microsoft Visual Studio Professional Edition -> Language Tools -> Visual C++ -> and make sure that the x64 Compilers and Tools option is checked.
5. If it is unchecked, please check this option, and hit the Update button.

Plus de réponses (0)

Catégories

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

Produits


Version

R2007b

Community Treasure Hunt

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

Start Hunting!

Translated by