⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 pulselengthdialog.m

📁 用matlab程序实现WCDMA系统的仿真
💻 M
字号:
function fig = PulselengthDialog()
%**********************************************************************
% Copyright 2002 The Mobile and Portable Radio Research Group
%
% Produces a dialog that reminds the user that the Pulse lenght must be
% an even number of chips
%**********************************************************************

load DCDCH_SFDialog


bdwidth = 5;
topbdwidth=30;

ScreenSize = get(0,'ScreenSize');
Height = 177;
Width = 400;
right = round((ScreenSize(3)-Width)/2)-2*bdwidth;
bottom = ScreenSize(4)-Height-4*topbdwidth;


h0 = dialog('BackingStore','off', ...
	'ButtonDownFcn','if isempty(allchild(gcbf)), close(gcbf), end', ...
	'Color',[0.752941176470588 0.752941176470588 0.752941176470588], ...
	'Colormap',mat0, ...
	'FileName','PulselengthDialog.m', ...
	'HandleVisibility','callback', ...
	'IntegerHandle','off', ...
	'InvertHardcopy','off', ...
	'MenuBar','none', ...
	'NumberTitle','off', ...
	'PaperPosition',[18 180 576 432], ...
	'PaperUnits','points', ...
	'Position',[right bottom Width Height], ...
	'Resize','off', ...
	'Tag','Fig1', ...
   'ToolBar','none', ...
	'WindowStyle','modal');
h1 = uicontrol('Parent',h0, ...
	'Units','points', ...
	'BackgroundColor',[0.752941176470588 0.752941176470588 0.752941176470588], ...
	'FontSize',12, ...
	'FontWeight','bold', ...
	'ListboxTop',0, ...
	'Position',[31.5 65.25 252 44.25], ...
	'String','The Pulse Duration must be Even.  Pulse duration will be set to the next higher integer.', ...
	'Style','text', ...
	'Tag','StaticText1');
h1 = uicontrol('Parent',h0, ...
	'Units','points', ...
	'BackgroundColor',[0.615686274509804 0.725490196078431 0.784313725490196], ...
	'Callback','close(gcf)', ...
	'FontSize',10, ...
	'FontWeight','bold', ...
	'ListboxTop',0, ...
	'Position',[135 25.5 51 24], ...
	'String','OK', ...
	'Tag','Pushbutton1');
if nargout > 0, fig = h0; end

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -