matlab引擎问题
我用vc调用matlab引擎问题,对于打开引擎,仅调用函数engEvalString(MyEngine2,"plot(T,D);");调函数能使用,但对于用其他函数 mxSetName(T,"T");engPutArray(MyEngine2,T);等却不能通过,有错误如下:E:\vc编程\example\eng\engView.cpp(115) : warning C4002: too many actual parameters for macro 'mxSetName'
E:\vc编程\example\eng\engView.cpp(115) : error C2065: 'mxSetName_is_obsolete' : undeclared identifier
E:\vc编程\example\eng\engView.cpp(117) : warning C4002: too many actual parameters for macro 'engPutArray'
E:\vc编程\example\eng\engView.cpp(117) : error C2065: 'engPutArray_is_obsolete' : undeclared identifier
E:\vc编程\example\eng\engView.cpp(119) : warning C4002: too many actual parameters for macro 'engGetArray'
E:\vc编程\example\eng\engView.cpp(119) : error C2065: 'engGetArray_is_obsolete' : undeclared identifier
不知什么原因,请高手指点