Problems including MATLAB “engine.h” for C++ code

后端 未结 4 2434
一个人的身影
一个人的身影 2021-02-20 10:11

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         


        
4条回答
  •  长情又很酷
    2021-02-20 11:09

    Have you added the MATLAB include directory to your project's include path? enter image description here. The directory should be like "C:\Program Files\MATLAB\R2010a\extern\include"

提交回复
热议问题