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

3 views (last 30 days)
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.

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 20 Feb 2023
Edited: MathWorks Support Team on 1 Apr 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.

More Answers (0)

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Products


Release

R2007b

Community Treasure Hunt

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

Start Hunting!