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

后端 未结 4 2472
一个人的身影
一个人的身影 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:08

    In case you forgot, add the folder containing libmat.dll libmx.dll etc. to your path. For me that was:

    C:\Program Files\MATLAB\R2012a\bin\win64

提交回复
热议问题