I am using Matlab v2016b. On my computer, I installed Visual C++ Redistributable for Visual Studio 2015 from the official website https://www.microsoft.com/en-us/download/details.aspx?id=48145 because I would like to use it as C/C++ compiler when I run mex . However, if I run
I get the following error:
Error using mex
No supported compiler or SDK was found. You can install the freely available MinGW-w64 C/C++ compiler; see Install MinGW-w64
Compiler. For more options, visit http://www.mathworks.com/support/compilers/R2016b/win64.html.
It is as if Matlab did not see where Visual C is installed. Any tips on how to fix this?