I want to call from MATLAB function from a lib file (compiled in C - probably in MSVS).
All instructions I found on Mathworks get me: "No supported compiler or SDK was found. You can install the freely available MinGW-w64 C/C++ compiler; see Install MinGW-w64 Compiler"
I would have followed the instruction but I've noticed this: "Library (.lib) files generated by Microsoft® Visual Studio® are not compatible with MinGW"
So I rather not to. I have MSVS installed on my (windows) computer, I can't find anywhere instructions of how to 'tell' Matlab to work with this compiler.
Any one can point me to instructions how to define a C compiler i Matlab (other than MinGW)?
P.S. I am using the coder toolbox and generating MEX files all the time so I guess somewhere my Matlab does have access to a C compiler