I am trying to run the example code from the MATLAB Doc, but when I try to build the project in Visual Studio I get this error
fatal error C1083: Cannot open inc
Have you added the MATLAB include directory to your project's include path? . The directory should be like "C:\Program Files\MATLAB\R2010a\extern\include"