Setting Microsoft Visual C++ 2013 as default MEX compiler

Configuration files for setting Microsoft Visual C++ 2013 as default compiler for MEX (x86/x64)

You are now following this Submission

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 .

Categories

Find more on MATLAB Compiler SDK in Help Center and MATLAB Answers

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.2.0.0

updated other requirements.

1.1.0.0

updated other requirements.

1.0.0.0