-
Notifications
You must be signed in to change notification settings - Fork 65
/
frost_addpath.m
34 lines (27 loc) · 1.01 KB
/
frost_addpath.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
26
27
28
29
30
31
32
33
34
function frost_addpath()
% Add system related functions paths
cur = fileparts(mfilename('fullpath'));
if isempty(cur)
cur = pwd;
end
addpath(genpath(fullfile(cur, 'matlab')));
addpath(fullfile(cur, 'matlab', 'nlp'));
addpath(fullfile(cur, 'matlab', 'solver'));
addpath(fullfile(cur, 'matlab', 'system'));
addpath(fullfile(cur, 'matlab', 'control'));
addpath(fullfile(cur, 'matlab', 'robotics'));
% Add useful custom functions path
addpath(fullfile(cur, 'matlab', 'utils'));
addpath_matlab_utilities('general', 'mex', ...
'graphics', 'mathlink', ...
'sim', 'plot');
% Add third party packages/libraries path
addpath(fullfile(cur, 'third'));
addpath_thirdparty_packages(...
'mathlink', 'ipopt', 'sparse2','GetFullPath');
addpath(fullfile(cur, 'mathematica'));
initialize_mathlink();
addpath(fullfile(cur, 'example'));
% warning('Restart Matlab to use the Snake yaml library.');
% addpath(fullfile(cur, 'docs'));
end