在MATLAB 里面写的程序(用到INPUT, DLMREAD,DLMWRITE等函数),想要脱离MATLAB环境运行,用MATCOM编译,把matlab toolbox里的几个函数(dlmread.m,dlmwrite.m等)拷到matcom 下编译,结果出错:
Compiling...
dlmread.cpp
dlmread.cpp(69) : error C2665: 'error' : none of the 4 overloads can convert parameter 1 from type 'class Mm'
dlmread.cpp(75) : error C2665: 'error' : none of the 4 overloads can convert parameter 1 from type 'class Mm'
dlmread.cpp(84) : error C2665: 'error' : none of the 4 overloads can convert parameter 1 from type 'class Mm'
dlmread.cpp(100) : error C2665: 'error' : none of the 4 overloads can convert parameter 1 from type 'class Mm'
dlmread.cpp(117) : error C2665: 'warning' : none of the 4 overloads can convert parameter 1 from type 'class Mm'
dlmread.cpp(150) : error C2665: 'warning' : none of the 4 overloads can convert parameter 1 from type 'class Mm'
dlmread.cpp(162) : error C2665: 'error' : none of the 4 overloads can convert parameter 1 from type 'class Mm'
dlmread.cpp(169) : error C2661: '()' : no overloaded function takes 11 parameters
dlmread.cpp(169) : error C2064: term does not evaluate to a function
dlmread.cpp(176) : error C2661: '()' : no overloaded function takes 15 parameters
dlmread.cpp(176) : error C2064: term does not evaluate to a function
这是怎么回事,头疼啊.需要怎么处理,还请高人指教一二,感激不尽...