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

📄 wcdmasim.m

📁 matlab实现wcdma的仿真程序
💻 M
字号:
function fig = WCDMASim()
% This is the machine-generated representation of a Handle Graphics object
% and its children.  Note that handle values may change when these objects
% are re-created. This may cause problems with any callbacks written to
% depend on the value of the handle at the time the object was saved.
% This problem is solved by saving the output as a FIG-file.
%
% To reopen this object, just type the name of the M-file at the MATLAB
% prompt. The M-file and its associated MAT-file must be on your path.
% 
% NOTE: certain newer features in MATLAB may not have been saved in this
% M-file due to limitations of this format, which has been superseded by
% FIG-files.  Figures which have been annotated using the plot editor tools
% are incompatible with the M-file/MAT-file format, and should be saved as
% FIG-files.


load SimMenu

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

WorkingDir = pwd;
s1=[WorkingDir,'\DownlinkSimulator'];
s2=[WorkingDir,'\UplinkSimulator'];
P=path;
if isempty(findstr(P,s1))
   path(path,s1);
end
if isempty(findstr(P,s2))
   path(path,s2);
end



h0 = figure('Color',[0.8 0.8 0.8], ...
	'Colormap',mat0, ...
	'FileName','C:\MATLABR11\work\WCDMAsimulator\WCDMASim.m', ...
	'PaperPosition',[18 180 576 432], ...
	'PaperUnits','points', ...
	'Position',[right bottom 386 300], ...
	'Tag','Fig1', ...
   'ToolBar','none');

% Object for Title
h1 = uicontrol('Parent',h0, ...
	'Units','points', ...
	'BackgroundColor',[ 0.8 0.8 0.8], ...
	'FontSize',24, ...
	'ListboxTop',0, ...
	'Position',[24.75 190 237 24], ...
	'String','WCDMA Simulator', ...
	'Style','text', ...
   'Tag','StaticText1');


%Navigation Buttons
h1 = uicontrol('Parent',h0, ...
	'Units','points', ...
	'BackgroundColor',[0.831372549019608 0.815686274509804 0.784313725490196], ...
	'FontSize',20, ...
	'ListboxTop',0, ...
	'Position',[20 115 250 45], ...
   	'Callback','close;WCDMAUplinkSim',...
	'String','Simulate Uplink', ...
	'Tag','Pushbutton2');
h1 = uicontrol('Parent',h0, ...
	'Units','points', ...
	'BackgroundColor',[0.831372549019608 0.815686274509804 0.784313725490196], ...
	'FontSize',20, ...
	'ListboxTop',0, ...
	'Position',[20 40 250 45], ...
   	'Callback','close;TxMenu',...
	'String','Simulate Downlink', ...
	'Tag','Pushbutton2');
if nargout > 0, fig = h0; end

⌨️ 快捷键说明

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