MATLAB: How to set visual studio 2015 as default compiler in matlab

visual studio

I am using MATLAB 2017b and MinGW64 as my compiler to integrate C code into matlab. But i need to use visual studio as my compiler rather than "mex. i install visual studio 2015. when i typr "mex -setup" it is not showing visual studio. Can anyone help me to set "visual studio" as my default compiler in matlab to compile C code ? Thanks & Regards.

Best Answer

Visual Studio 2015 Community is not supported; you would need to use Visual Studio 2015 Professional.
Related Question