[问题] GUI转成.exe疑问

楼主: smvenjoy (好好坏坏~~)   2014-05-12 22:44:14
想要把GUI转成exe档案放在其他电脑上跑,
试用的方法如下:
1.把GUI.m及GUI.fig放在桌面所建立的资料夹"test"里
2.于command window打上mbuild.m,依序选择vc++6.0为compliler,
之后利用deploytool建立执行档。
GUI.m的程式只有pushbutton的callback,
程式码如下:
d=fdesign.bandpass(5M,5.1M,5.3M,5.4M,10,1,10,50M);
Hd=design(d,'butter');
但使用2010版的matlab转换为执行档时,出现以下的错误:
Warning:an error occurred while parsing class reportdlg.htmlreportdlg:
Undefined function or method 'findclass'for input arguments of type 'double'.
Waring:an error occurred while parsing class hdlcoderui.hdlcc:
Undefined function or method 'findclass'for input arguments of type 'double'.
Depfun error:'The specified super-class 'TreeNode' contains a parse error
or cannot be found on MATLAB's search path, possibly shadowed by
another file with the same name.'
??? Error using=>mcc
Error executing mcc,return status =1(0x1).
已经试过好多次,发现可能是因为程式码是在设计滤波器的关系,
才导致不能把GUI转成执行档,想请问该如何解决这个问题,谢谢!

Links booklink

Contact Us: admin [ a t ] ucptt.com