声振论坛

 找回密码
 我要加入

QQ登录

只需一步,快速开始

查看: 1100|回复: 2

[混合编程] matcom 编译不了MATLAB工具箱中的函数

[复制链接]
发表于 2007-12-12 11:18 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?我要加入

x
在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 编辑 ]
回复
分享到:

使用道具 举报

发表于 2007-12-12 12:15 | 显示全部楼层
置顶的贴里找找,我对这个不懂,不过用的人挺多的啊
发表于 2007-12-12 12:42 | 显示全部楼层
原帖由 stephensuen 于 2007-12-12 11:18 发表
在MATLAB 里面写的程序(用到INPUT, DLMREAD,DLMWRITE等函数),想要脱离MATLAB环境运行,用MATCOM编译,把matlab toolbox里的几个函数(dlmread.m,dlmwrite.m等)拷到matcom 下编译,结果出错:
Compil ...

企图用 matcom 编译整个工具箱的函数估计很难行得通
您需要登录后才可以回帖 登录 | 我要加入

本版积分规则

QQ|小黑屋|Archiver|手机版|联系我们|声振论坛

GMT+8, 2024-5-20 23:15 , Processed in 0.105796 second(s), 17 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表