stephensuen 发表于 2007-12-12 11:18

matcom 编译不了MATLAB工具箱中的函数

在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
这是怎么回事,头疼啊.需要怎么处理,还请高人指教一二,感激不尽...

[ 本帖最后由 eight 于 2007-12-12 11:33 编辑 ]

sigma665 发表于 2007-12-12 12:15

置顶的贴里找找,我对这个不懂,不过用的人挺多的啊

eight 发表于 2007-12-12 12:42

原帖由 stephensuen 于 2007-12-12 11:18 发表 http://www.chinavib.com/forum/images/common/back.gif
在MATLAB 里面写的程序(用到INPUT, DLMREAD,DLMWRITE等函数),想要脱离MATLAB环境运行,用MATCOM编译,把matlab toolbox里的几个函数(dlmread.m,dlmwrite.m等)拷到matcom 下编译,结果出错:
Compil ...
企图用 matcom 编译整个工具箱的函数估计很难行得通
页: [1]
查看完整版本: matcom 编译不了MATLAB工具箱中的函数