Setting Microsoft Visual C++ 2013 as default MEX compiler

Configuration files for setting Microsoft Visual C++ 2013 as default compiler for MEX (x86/x64)
9.6K Downloads
Updated 14 Mar 2014

View License

Copy the contents of the zip file into the following folder depending on your OS version:
for x86 "C:\Program Files\MATLAB\R2013a\bin\win32\mbuildopts"
or for x64 "C:\Program Files\MATLAB\R2013a\bin\win64\mbuildopts"

Then run 'mex -setup' in MATLAB command window

Cite As

Adeel Ahmad (2026). Setting Microsoft Visual C++ 2013 as default MEX compiler (https://www.mathworks.com/matlabcentral/fileexchange/45878-setting-microsoft-visual-c-2013-as-default-mex-compiler), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2013a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on MATLAB Compiler SDK in Help Center and MATLAB Answers
Version Published Release Notes
1.2.0.0

updated other requirements.

1.1.0.0

updated other requirements.

1.0.0.0