These instructions and setup files can be used to download, install and configure Microsoft's free Visual C++ 2008 Express compiler with MatLab on either 32-bit or 64-bit Windows OS, using the latest Microsoft Windows SDK for Windows Server 2008 and .NET Framework 3.5. (We tried the solution in article 18508, but those files did not work for the latest Microsoft products.) We use MatLab R2007a on Windows XP Professional and Windows XP Professional x64 Edition. It should be straightforward to modify these files, if necessary, for use with the standard Microsoft Visual Studio C++ 2008 product and/or later versions of MatLab.
The files provided assume the installations are on the C: drive. To use another drive, edit the files and change C: to the correct drive letter.
After performing the steps in these instructions, setup the Microsoft Visual C++ 2008 Express compiler to create MatLab MEX files, for example, with "mex -setup" at the MatLab prompt.
Larry Baker (2022). Microsoft 32/64-bit Visual C++ 2008 Express support files (https://www.mathworks.com/matlabcentral/fileexchange/22689-microsoft-32-64-bit-visual-c-2008-express-support-files), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!