📄 startup.m
字号:
% startup.m - Startup file for WMTSA package%%% $Id: startup.m 629 2006-05-02 20:46:48Z ccornish $% Get path to this startup filethis_file = mfilename('fullpath');[wmtsa_path, filename, ext, versn] = fileparts(this_file);% Set pathsaddpath([wmtsa_path filesep 'dwt']); % 1-D DWT and core wavelet analysis functionsaddpath([wmtsa_path filesep 'utils']); % General utility functionsaddpath([wmtsa_path filesep 'plotutils']); % WMTSA plotting routines addpath([wmtsa_path filesep 'signal']); % Signal processing functionsaddpath([wmtsa_path filesep 'stats']); % Statistic functionsaddpath([wmtsa_path filesep 'data']); % Sample data setsaddpath([wmtsa_path filesep 'third-party']); % Third-party routines required fo WMTSA% Compile MEX files if necessarycur_dir = pwd;src_dir = [wmtsa_path filesep 'dwt'];mex_function_list = {'modwtj', 'imodwtj', 'dwtj'};cd(src_dir);for (i = 1:length(mex_function_list)) mex_function = mex_function_list{i}; mex_function_exe_file = [mex_function '.' mexext]; mex_function_src_file = [mex_function '.c']; if (isempty(which(mex_function)) || ~exist([src_dir filesep mex_function_exe_file], 'file')) disp(['Compiling ' mex_function_src_file '...']); mex(mex_function_src_file); end endcd(cur_dir);% Cleanupclear this_file;clear wmtsa_path filename ext versn;clear mex_function_list mex_function mex_function_exe_file mex_function_src_file;clear src_dir cur_dir;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -