⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 runcallback.m

📁 用matlab程序实现WCDMA系统的仿真
💻 M
字号:
%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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -