📄 delaycallback.m
字号:
%************************************************************
%
% Copyright 2002 The Mobile and Portable Radio Research Group
%
% Part of GUI for downlink simulator.
% Updates user input into Delay edit boxes and issues
% apporiate error dialog if a value greater than 0 is entered
%
%************************************************************
global DelayHandle AmpHandle
fee = str2num(get(DelayHandle(BoxNum), 'String'))*1e-9;
if isempty(fee)
set(AmpHandle(BoxNum),'String',[]);
for k=(BoxNum+1):6
set(DelayHandle(k),'String',[]);
set(AmpHandle(k),'String',[]);
end
elseif fee < 0
curfig=GenDialog('The Delay values cannot be negative');
uiwait(curfig);
GenDialog('Resetting to 0');
set(DelayHandle(BoxNum), 'String','0');
end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -