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

📄 nextdpchcallback.m

📁 用matlab程序实现WCDMA系统的仿真
💻 M
字号:
%************************************************************
%
% Copyright 2002 The Mobile and Portable Radio Research Group
%
% Part of GUI for downlink simulator.
% Invokes the appropriate menu when the NEXT button 
% of the Other DPCHs menu is pressed
%
%************************************************************
global NumDPCHcalls DPCHremainder CallNumber LastCallChannelCount
global DPCHformatHandle1 DPCHformatHandle2 DPCHformatHandle3 DPCHformatHandle4


FormatIDs = [0 3 5 8 11 14 17 20 23 26 29 32 35 38 41 44 47];

CallNumber = CallNumber+1;
if CallNumber <= NumDPCHcalls
   fee1 = FormatIDs(get(DPCHformatHandle1 ,'value'));
   fee2 = FormatIDs(get(DPCHformatHandle2 ,'value'));
   fee3 = FormatIDs(get(DPCHformatHandle3 ,'value'));
   fee4 = FormatIDs(get(DPCHformatHandle4 ,'value'));
   SimConfig.OtherDPCHformatID = [SimConfig.OtherDPCHformatID fee1 fee2 fee3 fee4];
   close;
   DPCHMenu(SimConfig);
else
   if DPCHremainder >= 1
      fee1 = FormatIDs(get(DPCHformatHandle1 ,'value'));
      SimConfig.OtherDPCHformatID = [SimConfig.OtherDPCHformatID fee1];
   end 
   if DPCHremainder >= 2
      fee2 = FormatIDs(get(DPCHformatHandle2 ,'value'));
      SimConfig.OtherDPCHformatID = [SimConfig.OtherDPCHformatID fee2];
   end
   if DPCHremainder >= 3
      fee3 = FormatIDs(get(DPCHformatHandle3 ,'value'));
      SimConfig.OtherDPCHformatID = [SimConfig.OtherDPCHformatID fee3];
   end
   if DPCHremainder == 4
      fee4 = FormatIDs(get(DPCHformatHandle4 ,'value'));
      SimConfig.OtherDPCHformatID = [SimConfig.OtherDPCHformatID fee4];
   end
   close;
   ModulatorMenu;
end

⌨️ 快捷键说明

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