Labfans是一个针对大学生、工程师和科研工作者的技术社区。 论坛首页 | 联系我们(Contact Us)
MATLAB爱好者论坛-LabFans.com
返回   MATLAB爱好者论坛-LabFans.com > 工程数学软件 > MATLAB论坛
MATLAB论坛 一切MATLAB相关问题在此讨论。
回复
 
主题工具 显示模式
旧 2007-06-21, 20:31   #1
chianelxie
初级会员
 
注册日期: 2007-05-09
帖子: 29
声望力: 18
chianelxie 正向着好的方向发展
默认 BCH 循环码界面

h0 = figure('Units','points', ...
'Color',[0.8 0.8 0.8], ...
'Colormap','default', ...
'FileName','start.m', ...
'MenuBar','none', ...
'Name',' 循环码编译码 ', ...
'NumberTitle','off', ...
'PaperPosition',[18 180 576 432], ...
'PaperUnits','points', ...
'Position',[230 150 475.25 350.5], ...
'Resize','on', ...
'Tag','UIFigure3', ...
'ToolBar','none');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[0.8 0.8 0.8], ...
'HorizontalAlignment','left', ...
'ListboxTop',0, ...
'Position',[80.75 310.5 163.75 13.75], ...
'String','信息码波形', ...
'Style','text', ...
'ForegroundColor','b', ...
'Tag','StaticText1');
h1 = axes('Parent',h0,...
'Position',[0.06,0.65,0.4,0.20],...
'Visible','on',...
'Tag','haxes1',...
'Xlim',[0 15],...
'Ylim',[0 15]);
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[0.8 0.8 0.8], ...
'HorizontalAlignment','left', ...
'ListboxTop',0, ...
'Position',[80.75 200.5 163.75 13.75], ...
'String','编码波形图', ...
'Style','text', ...
'ForegroundColor','b', ...
'Tag','StaticText1');
h2 = axes('Parent',h0,...
'Position',[0.06,0.35,0.4,0.2],...
'Visible','on',...
'Tag','haxes2',...
'Xlim',[0 15],...
'Ylim',[0 15]);
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[0.8 0.8 0.8], ...
'HorizontalAlignment','left', ...
'ListboxTop',0, ...
'Position',[80.75 90.5 163.75 13.75], ...
'String','信道噪声码波形图', ...
'Style','text', ...
'ForegroundColor','b', ...
'Tag','StaticText1');
h3 = axes('Parent',h0,...
'Position',[0.06,0.05,0.4,0.2],...
'Visible','on',...
'Tag','haxes3',...
'Xlim',[0 15],...
'Ylim',[0 15]);
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[0.8 0.8 0.8], ...
'HorizontalAlignment','left', ...
'ListboxTop',0, ...
'Position',[320.75 310.5 163.75 13.75], ...
'String','接收码波形图', ...
'Style','text', ...
'ForegroundColor','b', ...
'Tag','StaticText1');
h4 = axes('Parent',h0,...
'Position',[0.56,0.65,0.4,0.2],...
'Visible','on',...
'Tag','haxes4',...
'Xlim',[0 15],...
'Ylim',[0 15]);
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[0.8 0.8 0.8], ...
'HorizontalAlignment','left', ...
'ListboxTop',0, ...
'Position',[320.75 200.5 163.75 13.75], ...
'String','译码波形图', ...
'Style','text', ...
'ForegroundColor','b', ...
'Tag','StaticText1');
h5 = axes('Parent',h0,...
'Position',[0.56,0.35,0.4,0.2],...
'Visible','on',...
'Tag','haxes5',...
'Xlim',[0 15],...
'Ylim',[0 15]);

h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[0.8 0.8 0.8], ...
'HorizontalAlignment','left', ...
'ListboxTop',0, ...
'Position',[250.75 80.5 63.75 13.75], ...
'String','输入信息码:', ...
'Style','text', ...
'ForegroundColor','b', ...
'Tag','StaticText1');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[1 1 1], ...
'HorizontalAlignment','left', ...
'ListboxTop',0, ...
'Position',[310.75 80.5 150.75 13.75], ...
'String','[0 1 1 1 1 0 1 0 1 0]', ...
'Style','edit', ...
'Tag','data');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[0.8 0.8 0.8], ...
'HorizontalAlignment','left', ...
'ListboxTop',0, ...
'Position',[250.75 60.5 63.75 13.75], ...
'String','输入噪声码:', ...
'Style','text', ...
'ForegroundColor','b', ...
'Tag','StaticText1');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[1 1 1], ...
'HorizontalAlignment','left', ...
'ListboxTop',0, ...
'Position',[310.75 60.5 150.75 13.75], ...
'String','[0 0 1 0 0 0 0 0 0 0 0 0 0 0 0]', ...
'Style','edit', ...
'Tag','noise');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[0.8 0.8 0.8], ...
'BusyAction','cancel', ...
'Callback','debchcode', ...
'Interruptible','off', ...
'ListboxTop',0, ...
'Position',[250.75 10.5 93.75 18.75], ...
'String','译码/画图', ...
'ForegroundColor',[0 0.4 0], ...
'FontWeight','bold', ...
'Tag','decode');
h1 = uicontrol('Parent',h0, ...
'Units','points', ...
'BackgroundColor',[0.8 0.8 0.8], ...
'BusyAction','cancel', ...
'Callback','close', ...
'Interruptible','off', ...
'ListboxTop',0, ...
'Position',[368.75 10.5 93.75 18.75], ...
'String','退出系统', ...
'ForegroundColor',[0 0.4 0], ...
'FontWeight','bold', ...
'Tag','Pushbutton1');
chianelxie 当前离线   回复时引用此帖
旧 2007-06-21, 20:34   #2
chianelxie
初级会员
 
注册日期: 2007-05-09
帖子: 29
声望力: 18
chianelxie 正向着好的方向发展
默认

这个是BCH界面编写程序,希望对写界面的朋友有帮助。
chianelxie 当前离线   回复时引用此帖
回复


发帖规则
不可以发表新主题
不可以发表回复
不可以上传附件
不可以编辑自己的帖子

启用 BB 代码
论坛启用 表情符号
论坛启用 [IMG] 代码
论坛禁用 HTML 代码



所有时间均为北京时间。现在的时间是 12:46


Powered by vBulletin
版权所有 ©2000 - 2025,Jelsoft Enterprises Ltd.