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

📄 setpath.m

📁 基于OFDM的无线宽带系统仿真It contains mainly two parts, i.e. link-level simulator and system-level simulator.
💻 M
字号:
% add the corresponding directory to the matlab path
%
% yy, 01-july-2007
function setpath(P,Root_path,link_sys_flg)
if nargin ==0
    P = path;
end
if link_sys_flg == 1,
    % 1 for link_lv
    path(P,[Root_path,'/link_lv_simu/'])
elseif link_sys_flg == 2,
    % 2 for sys_lv
    %path(P,[Root_path,'/sys_lv_simu/sys_lv_main_funcs:',Root_path,'/sys_lv_simu/runetools:',Root_path,'/sys_lv_simu/runemain'])
    path(P,[Root_path,'/sys_lv_simu/sys_lv_main_funcs']);
    path(path,[Root_path,'/sys_lv_simu/runetools']);
    path(path,[Root_path,'/sys_lv_simu/runemain']);
else
    disp('link_sys_flg not properly set')
end

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -