首页 > 技术文章 > mex找不到头文件的解决办法

qingliu411 2013-10-07 22:23 原文

环境: windows7 64位 + VS2010 + matlab2012b 64位

 

直接用mex filename.cpp时,报错 cannot find the include files: ***.h

这是可以用mex -I./includepath1/ -I/includepath2/ filename.cpp 

推荐阅读