Microsoft Visual Studio as Mex Compiler

I have MATLAB 2013a student version(x86) and have a c program I would like to compile into a mex. when I run the mex -setp command I have the only the options for the lcc-win32 compiler and the none option, but I have Microsoft Visual Studio 2015 installed on my machine. Is it possible to use the MSVS compilier with MATLAB 2013a (x86)?

Answers (1)

No. VS 2015 Professional is supported by R2015b but not by any previous version. Also, none of the VS * Express versions have been supported for a number of years. See http://www.mathworks.com/support/compilers/R2013a/index.html?sec=win32 for the list of versions that are supported for your release.

Tags

Asked:

on 28 Jan 2016

Answered:

on 28 Jan 2016

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!