angle3839 发表于 2007-4-28 14:36

matcom编译出问题

我想用matcom将自己编的一个函数编译成.dll文件,我的.m文件中调用了几个matlab的函数,我将这几个函数的.m文件拷到编译目录下边,编译的时候提示信息如下:
Using Visual C++ : Target WinNT/Win95 (Win32)
bscost : Translating D:\angle3839\ncovb\bscost.m
Writing feval.m
feval : Translating feval.m
Compiling...
ncovb.cpp
buttord.cpp
buttord.cpp(58) : error C2661: 'istrue' : no overloaded function takes 0 parameters
buttord.cpp(103) : error C2661: '()' : no overloaded function takes 10 parameters
buttord.cpp(103) : error C2064: term does not evaluate to a function
buttord.cpp(106) : error C2661: '()' : no overloaded function takes 10 parameters
buttord.cpp(106) : error C2064: term does not evaluate to a function
bscost.cpp
butter.cpp
butter.cpp(105) : error C2661: '()' : no overloaded function takes 5 parameters
butter.cpp(105) : error C2064: term does not evaluate to a function
butter.cpp(114) : error C2661: '()' : no overloaded function takes 10 parameters
butter.cpp(114) : error C2064: term does not evaluate to a function
butter.cpp(120) : error C2661: '()' : no overloaded function takes 11 parameters
butter.cpp(120) : error C2064: term does not evaluate to a function
butter.cpp(126) : error C2661: '()' : no overloaded function takes 10 parameters
butter.cpp(126) : error C2064: term does not evaluate to a function
butter.cpp(132) : error C2661: '()' : no overloaded function takes 11 parameters
butter.cpp(132) : error C2064: term does not evaluate to a function
butter.cpp(138) : error C2661: '()' : no overloaded function takes 10 parameters
butter.cpp(138) : error C2064: term does not evaluate to a function
feval.cpp
g_ncovb.cpp
Done.

谁能帮忙看看?
谢谢!

eight 发表于 2007-4-28 14:39

原帖由 angle3839 于 2007-4-28 14:36 发表 http://forum.vibunion.com/forum/images/common/back.gif
我想用matcom将自己编的一个函数编译成.dll文件,我的.m文件中调用了几个matlab的函数,我将这几个函数的.m文件拷到编译目录下边,编译的时候提示信息如下:
Using Visual C++ : Target WinNT/Win95 (Win32)
...


看关于matcom的精华贴
页: [1]
查看完整版本: matcom编译出问题