MATLAB R2016b - MEX fails to compile C++ code
问题 My last post was cluttered with lots of information. Part of it was this problem, which hopefully on its own with more info will make more sense. I am attempting to use mex in MATLAB R2016b to compile C++03 code on Windows. When I try to do so, I get the following errors: Error using mex cpp_mexapi_version.o: In function `mexfilerequiredapiversion': C:/Progra~1/MATLAB/R2016b/extern/version/cpp_mexapi_version.cpp:4: multiple definition of `mexfilerequiredapiversion' C:\Users\myName\AppData