摘要:
1 %带有右键菜单的GUI 2 figure('Menubar','none'); 3 h = uicontextmenu; 4 uimenu(h,'Label','A'); 5 uimenu(h,'Label','B'); 6 set(gcf,'Uicontextmenu',h); 7 8 %获得 阅读全文
摘要:
1 function varargout = GUI013(varargin) 2 % GUI013 MATLAB code for GUI013.fig 3 % GUI013, by itself, creates a new GUI013 or raises the existing 4 % s 阅读全文
摘要:
输入对话框: 留言对话框: 目录对话框: 列表对话框: 阅读全文
摘要:
1 #include <iostream> 2 #include <cstring> 3 #include <string> 4 using namespace std; 5 int n; 6 struct LinkList 7 { 8 int value;//数据域 9 struct LinkLi 阅读全文
摘要:
%普通对话框 dialog %单击时会关闭当前窗口 %自定义 关于对话框 点击确定 关闭 h = dialog('name','关于...','Position',[200 200 200 70]); uicontrol('parent', h , 'Style','pushbutton','Pos 阅读全文
摘要:
1 %进度条 2 %waitbar 3 h=waitbar(0,'实例'); 4 get(h); 5 6 %获得进度条的子对象 7 get(get(h,'Children')) 8 9 ha=get(h,'Children'); 10 11 %获得坐标轴子对象内容 12 %get(ha,'Child 阅读全文