-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathstartup.m
More file actions
30 lines (25 loc) · 1.25 KB
/
startup.m
File metadata and controls
30 lines (25 loc) · 1.25 KB
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
%Navigate to folder containing ephys_tools
s=what('SNLab_ephys');
cd(s.path)
%Initialize Paths
addpath(genpath(fullfile('preprocessing')),...
genpath(fullfile('utils')),...
genpath(fullfile('visualize')),...
genpath(fullfile('lfp')),...
genpath(fullfile('io')),...
genpath(fullfile('behavior')))
if ismember(getenv('USERDOMAIN'), "EPHYS-ANALYSIS-") % Ephys Analyais II
addpath(what(fullfile('external_packages','Kilosort2Wrapper')).path,...
genpath('C:\Users\schafferlab\github\neurocode\preProcessing'),...
genpath('C:\Users\schafferlab\github\kilosort'),...
genpath('C:\Users\schafferlab\github\neurocode\utilities'),...
genpath('C:\Users\schafferlab\github\neurocode'),...
genpath('C:\Users\schafferlab\github\CellExplorer'))
elseif ismember(getenv('USERDOMAIN'), "THEHOOK") % Laura's computer
addpath(what(fullfile('external_packages','Kilosort2Wrapper')).path,...
genpath('C:\Users\schafferlab\Documents\GitHub\neurocode\preProcessing'),...
genpath('C:\Users\schafferlab\github\KiloSort'),...
genpath('C:\Users\schafferlab\Documents\GitHub\neurocode\utilities'),...
genpath('C:\Users\schafferlab\Documents\GitHub\neurocode'),...
genpath('C:\Users\schafferlab\Documents\GitHub\CellExplorer'))
end