声振论坛

 找回密码
 我要加入

QQ登录

只需一步,快速开始

查看: 1155|回复: 2

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

[复制链接]
发表于 2008-12-5 10:45 | 显示全部楼层 |阅读模式

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

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

x
function[]=mac()
T=3;
g=tf(2,[150,25,1]);[h,t]=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
回复
分享到:

使用道具 举报

 楼主| 发表于 2008-12-8 20:37 | 显示全部楼层
没人会啊?
发表于 2008-12-8 21:42 | 显示全部楼层

回复 沙发 yangdahong 的帖子

您需要登录后才可以回帖 登录 | 我要加入

本版积分规则

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

GMT+8, 2024-5-11 18:07 , Processed in 0.055561 second(s), 18 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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