runcallback.m
来自「一个利用matlab」· M 代码 · 共 58 行
M
58 行
%Copyright 2002 The Mobile and Portable Radio Research Group
%
%This code is part of the GUI
%Path(P1);
%t0=clock;
UplinkSimConfig.MPathFlag=get(MPathHandle,'Value');
clear Delay Amp
Delay(1)=str2num(get(DelayHandle1,'string'));
fee=str2num(get(DelayHandle2,'string'))*1e-9;
if ~isempty(fee)
Delay(2)=fee;
end
fee=str2num(get(DelayHandle3,'string'))*1e-9;
if ~isempty(fee)
Delay(3)=fee;
end
fee=str2num(get(DelayHandle4,'string'))*1e-9;
if ~isempty(fee)
Delay(4)=fee;
end
fee=str2num(get(DelayHandle5,'string'))*1e-9;
if ~isempty(fee)
Delay(5)=fee;
end
fee=str2num(get(DelayHandle6,'string'))*1e-9;
if ~isempty(fee)
Delay(6)=fee;
end
Amp(1)=str2num(get(AmpHandle1,'string'));
fee=str2num(get(AmpHandle2,'string'));
if ~isempty(fee)
Amp(2)=fee;
end
fee=str2num(get(AmpHandle3,'string'));
if ~isempty(fee)
Amp(3)=fee;
end
fee=str2num(get(AmpHandle4,'string'));
if ~isempty(fee)
Amp(4)=fee;
end
fee=str2num(get(AmpHandle5,'string'));
if ~isempty(fee)
Amp(5)=fee;
end
fee=str2num(get(AmpHandle6,'string'));
if ~isempty(fee)
Amp(6)=fee;
end
close;
UplinkSimConfig.Delay=Delay;
UplinkSimConfig.Amp=Amp;
ErrorRun = UplinkSimulator(UplinkSimConfig);
clear global
%Path(P);
%etime(clock,t0);
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?