Setting Microsoft Visual C++ 2013 as default MEX compiler
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 (2022). 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
Platform Compatibility
Windows macOS LinuxCategories
Tags
Acknowledgements
Inspired by: Visual Studio 2013 support for MATLAB Compiler Toolbox (x64)
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.