nextdpchcallback.m
来自「WCDMA的仿真程序,分别用C和MATLAB两种语言仿真」· M 代码 · 共 45 行
M
45 行
%************************************************************
%
% 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 + =
减小字号Ctrl + -
显示快捷键?