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

📄 addrelpath.m

📁 Matlab toolbox that contains functions of Kalman filter and random system simulation.
💻 M
字号:
% ADDRELPATH  Add a relative path which gets expanded into a absolute path%             to the front of MATLABPATH.%%     addrelpath(path_string)%%     INPUT%            path_string        : string containing relative path%%%     Example : addrelpath('../foo');%%     This will first expand '../foo' to an absolute path and then add it to the%     front of MATLABPATH%%   See also%   REMRELPATH%%   Copyright  (c) Rudolph van der Merwe (2002)%%   This file is part of the ReBEL Toolkit. The ReBEL Toolkit is available free for%   academic use only (see included license file) and can be obtained by contacting%   rvdmerwe@ece.ogi.edu.  Businesses wishing to obtain a copy of the software should%   contact ericwan@ece.ogi.edu for commercial licensing information.%%   See LICENSE (which should be part of the main toolkit distribution) for more%   detail.%=============================================================================================function addrelpath(path_string)if strncmp(computer,'PC',2),   path_string = strrep(path_string,'/','\'); % Convert '/' to '\'else   path_string = strrep(path_string,'\','/'); % Convert '\' to '/'endcurrent_dir = pwd;cd(path_string);absolute_path = pwd;cd(current_dir);addpath(absolute_path);

⌨️ 快捷键说明

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