setpath.m
来自「基于OFDM的无线宽带系统仿真It contains mainly two pa」· M 代码 · 共 19 行
M
19 行
% 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 + =
减小字号Ctrl + -
显示快捷键?