-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathelf_paths.m
25 lines (23 loc) · 862 Bytes
/
elf_paths.m
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
function elf_paths
% ELF_PATHS adds the ELF main folder and its necessary subfolders to the Matlab path.
% The function elf_paths must stay in the ELF main folder for this to function.
%
% Example:
% elf_paths
%
% Uses: None
% Used by: all elf_main functions
thispath = fileparts(mfilename('fullpath'));
addpath(thispath);
addpath(fullfile(thispath, 'analysis'));
addpath(fullfile(thispath, 'calibration'));
addpath(fullfile(thispath, 'classes'));
addpath(fullfile(thispath, 'config'));
addpath(fullfile(thispath, 'gui'));
addpath(fullfile(thispath, 'help'));
addpath(fullfile(thispath, 'io'));
addpath(fullfile(thispath, 'plot'));
addpath(fullfile(thispath, 'project'));
addpath(genpath(fullfile(thispath, 'support')));
addpath(genpath(fullfile(thispath, 'tools')));
addpath(genpath(fullfile(thispath, 'modules'))); % add all installed modules