|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?我要加入
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 |
|