forked from BensmaiaLab/touchSim
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup_path.m
More file actions
22 lines (19 loc) · 712 Bytes
/
Copy pathsetup_path.m
File metadata and controls
22 lines (19 loc) · 712 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
p = mfilename('fullpath');
p = fileparts(p);
addpath([p '/src/model']) % base model code
addpath([p '/src/internal']) % internal functions
addpath([p '/src/GUI']) % GUI
addpath([p '/src/skinmech/']) % Skin mechanics code
addpath([p '/docs']) % Toolbox documentation
% optional directories
if exist([p '/tests'],'dir')
addpath([p '/tests']) % test scripts & helper functions
addpath([p '/tests/helper_functions'])
end
if exist([p '/fitting'],'dir')
addpath([p '/fitting']) % model fitting code
end
if exist([p '/fitting/mat'],'dir')
addpath([p '/fitting/mat']) % model fitting data
end
clear p