mex找不到头文件的解决办法

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

 

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

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

posted @ 2013-10-07 22:23  qingliu411  阅读(600)  评论(0编辑  收藏  举报