Setting Microsoft Visual C++ 2013 as default MEX compiler
Version 1.2.0.0 (5.56 KB) by
Adeel Ahmad
Configuration files for setting Microsoft Visual C++ 2013 as default compiler for MEX (x86/x64)
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 LinuxCategories
Find more on MATLAB Compiler SDK in Help Center and MATLAB Answers
Tags
Acknowledgements
Inspired by: Visual Studio 2013 support for MATLAB Compiler Toolbox (x64)
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
