Microsoft Visual Studio 2008 Mex and Mbuild Setup Files

Use these files to compile mex files from matlab command prompt with Visual Studio 2008
15.6K Downloads
Updated 1 Feb 2008

No License

I installed Microsoft Visual Studio(MVS) 2008 and Matlab R2007b and tried "mex -setup" command from Matlab. However my MVS 2008 was not recognized by Matlab. I debugged mex.m and found a way to show MVS 2008 to Matlab. Necessary files are located at 2 different directories in zip file (VS2008MATLABMexCompilerFilesX64 and VS2008MATLABMexCompilerFilesX86), one is for win32 Operating System(OS) and the other one is for win64 OS. There is also "directory.txt" file in the zip which shows the directory that you should copy necessary files to. I'm using VISTA ultimate edition, but this may work for other OS(not tested). Simply copy 6 files in one of these directories(depend on your OS) to the directory specified in directory.txt and try "mex -setup" again. (Procedure for mbuild is similar to this one.)

Cite As

Vakur VEZIR (2024). Microsoft Visual Studio 2008 Mex and Mbuild Setup Files (https://www.mathworks.com/matlabcentral/fileexchange/18508-microsoft-visual-studio-2008-mex-and-mbuild-setup-files), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2007a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on MATLAB Compiler in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0.0

Change title and keywords for mbuild.