yangdahong 发表于 2008-12-5 10:45

COM组件编译老出错,不知论坛上有哪位高手能解决!!

function[]=mac()
T=3;
g=tf(2,);=impulse(g,2:T:90);
impulse(g);
我用com组件编译上面函数时出现下面的错误不知道怎么解决请教各位大侠!
Building standalone executable...
mcc -M -silentsetup -d 'd:/MATLAB6p5/work/component/src'-B 'csglcom:component,huatu,1.0' -g -i D:/MATLAB6p5/work/mac1.m   
Warning: File: mac1 Line: 3 Column: 3
The MATLAB Compiler does not currently support MATLAB object-oriented programming.References to the method "tf" will produce a run-time error.
Warning: File: impulse Line: 110 Column: 10
The MATLAB Compiler does not currently support MATLAB object-oriented programming.References to the method "ss" will produce a run-time error.
Warning: File: impulse Line: 93 Column: 10
The MATLAB Compiler does not currently support MATLAB object-oriented programming.References to the method "tf" will produce a run-time error.
component_idl.idl
oaidl.idl
objidl.idl
unknwn.idl
wtypes.idl
ocidl.idl
oleidl.idl
servprov.idl
urlmon.idl
msxml.idl
mwcomtypes.idl

Creating distrib directory.
Moving files to distrib.

Standalone DLL build complete.
如果用没有带有tf ,ss 的函数去编译就不会有错误,就一次成功!
各位能解决的这个问题的大侠给点建议啊!我最近为这个问题快要疯了1!!!!
我的QQ491888649

yangdahong 发表于 2008-12-8 20:37

没人会啊?

ch_j1985 发表于 2008-12-8 21:42

回复 沙发 yangdahong 的帖子

参考这个网页
http://www.cpubbs.com/bbs/viewthread.php?tid=52982
页: [1]
查看完整版本: COM组件编译老出错,不知论坛上有哪位高手能解决!!