马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?我要加入
x
<P>我的程序<BR>function varargout = zhcfd1(varargin)<BR>clf reset<BR>h_fig=figure<BR><BR>h_push7=uicontrol(gcf,'style','pushbutton','units','normalized','position',[0.474,0.945,0.08,0.055],...<BR> 'string','使用说明','FontName','宋体','FontSize',10);</P>
<P><BR>h_list=uicontrol(gcf,'style','listbox','units','normalized','position',[0.05,0.05,0.92,0.7],...<BR> 'string',{'使用说明','如何使用该软件'},'FontName','宋体','FontSize',10)<BR><BR>set(h_push7,'callback','set(a,''visible'',''off'')')<BR>在m文件运行时错误是:<BR>??? Undefined function or variable 'h_list'.</P>
<P>??? Error while evaluating uicontrol Callback.<BR>但是我把程序考到命令窗口,程序运行正常,请问这是怎么回事,应该如何修改,谢谢</P> |