ampcallback.m
来自「对WCDMA的性能进行了仿真」· M 代码 · 共 27 行
M
27 行
%************************************************************
%
% Copyright 2002 The Mobile and Portable Radio Research Group
%
% Part of GUI for downlink simulator.
% Updates user input into Amplitude edit boxes and issues
% apporiate error dialog if a value greater than 0 is entered
%
%************************************************************
global DelayHandle AmpHandle
fee = str2num(get(AmpHandle(BoxNum), 'String'))*1e-9;
if isempty(fee)
set(DelayHandle(BoxNum),'String',[]);
for k=(BoxNum+1):6
set(DelayHandle(k),'String',[]);
set(AmpHandle(k),'String',[]);
end
elseif fee > 0
curfig=GenDialog('The Amplitude values must LESS THAN or EQUAL to 0');
uiwait(curfig);
GenDialog('Resetting to 0');
set(AmpHandle(BoxNum), 'String','0');
end
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?