-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstartup.m~
More file actions
executable file
·33 lines (30 loc) · 937 Bytes
/
startup.m~
File metadata and controls
executable file
·33 lines (30 loc) · 937 Bytes
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
% Matlab code to test Multi-robot SLAM strategies
%
%
%
clc;
disp(' ');
disp(' Software associated with the paper: ');
disp(' Right Representation for Multi-robot SLAM');
disp(' by Viorela Ila');
disp(' ');
SuiteSparsePath_ela='~/Work_mac/code/SuiteSparse';
SuiteSparsePath_others='~/borg/SuiteSparse';
slam_optim_Path='~/LAAS/matlab/';
if exist(SuiteSparsePath_ela,'dir')
path(path,genpath(SuiteSparsePath_ela));
path(path,genpath(slam_optim_Path));
path(path,genpath(pwd));
clear SuiteSparsePath_ela;
clear SuiteSparsePath_others;
elseif exist(SuiteSparsePath_others,'dir')
path(path,genpath(SuiteSparsePath_others));
path(path,genpath(slam_optim_Path));
path(path,genpath(pwd));
clear SuiteSparsePath_ela;
clear SuiteSparsePath_others;
else
disp(' Can not find SuiteSparse !! ');
path(path,genpath(pwd));
clear SuiteSparsePath;
end