nextcallback.m

来自「WCDMA的仿真程序,分别用C和MATLAB两种语言仿真」· M 代码 · 共 40 行

M
40
字号
%************************************************************
%
% 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 Transmitter Configuration menu is pressed
%
%************************************************************
global DesiredDPCHformatHandle NumDPCCHforCPCHhandle NumDPCHhandle NumS_CPICHhandle PDSCHformatHandle STTDhandle S_CCPCHformatHandle
global NumDPCHcalls DPCHremainder CallNumber LastCallChannelCount

SimConfig.S_CCPCHformatID = get(S_CCPCHformatHandle,'value')-1;
SimConfig.PDSCHformatID = get(PDSCHformatHandle,'value')-1;

FormatIDs = [0 3 5 8 11 14 17 20 23 26 29 32 35 38 41 44 47];
SimConfig.DesiredDPCHformatID = FormatIDs(get(DesiredDPCHformatHandle ,'value'));

X30=0:30;
SimConfig.Num_DPCH = X30(get(NumDPCHhandle,'value'));

X10=0:10;
SimConfig.NumDPCCHforCPCH = X10(get(NumDPCCHforCPCHhandle,'value'));
SimConfig.NumS_CPICH = X10(get(NumS_CPICHhandle,'value'));

SimConfig.STTD = get(STTDhandle,'value');

close
if SimConfig.Num_DPCH == 0
   SimConfig.OtherDPCHformatID = [];
   ModulatorMenu;
else
   NumDPCHcalls = ceil(SimConfig.Num_DPCH / 4);
   DPCHremainder = rem(SimConfig.Num_DPCH,4);
   if DPCHremainder ==0, DPCHremainder = 4; end
   CallNumber = 1;
   LastCallChannelCount = DPCHremainder;
   SimConfig.OtherDPCHformatID = [];
   DPCHMenu(SimConfig);
end

⌨️ 快捷键说明

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