CODE:
%初始化根窗体
clf reset;
set(gcf,'Units','pixels','position' ,[185 50 860 655],'name', '设计计算',...
'numbertitle', 'off', 'Tag', 'dsp');
set(gcf, 'defaultuicontrolfontsize' ,12);
set(gcf, 'defaultuicontrolfontname' , ' 隶书 ' );
%添加组件
%设计参数输入区域
labelhead1 = uicontrol(gcf,'Style', 'text', 'String', '','Position', [29 80 125 525],...
'BackgroundColor', [.5 .6 .6], 'FontSize', 12);
labelhead11 = uicontrol(gcf,'Style', 'text', 'String', '设计参数输入','Position', [30 610 120 20],...
'BackgroundColor', [.8 .8 .8], 'FontSize', 14);
%设计结果输出区域
labelout = uicontrol(gcf,'Style', 'text', 'String', '设计结果输出