-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinit_experiment.m
57 lines (44 loc) · 1.87 KB
/
init_experiment.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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
% -------------------------------------------------------------------------
% Directories
% -------------------------------------------------------------------------
% orip = uigetdir('C:\'); % Use the GUI to get to this directory
addpath(genpath(pwd))
computerName = getenv('COMPUTERNAME');
switch computerName
case 'LAPTOP-N37ECEH3'
lenovo_pc_setup;
case 'DESKTOP-UJUVJ70'
tower_computer_setup;
end
% -------------------------------------------------------------------------
% check system info
% -------------------------------------------------------------------------
[~, cmdout] = system('systeminfo');
disp(cmdout);
matlabroot
ver
PsychtoolboxVersion
% -------------------------------------------------------------------------
% Troubleshooting Psychtoolbox
% -------------------------------------------------------------------------
% root = 'C:\toolbox\Psychtoolbox';
% addpath(genpath(root));
% cd(root);
% SetupPyschtoolbox % -> For troubleshooting
% -------------------------------------------------------------------------
% Check Devices
% -------------------------------------------------------------------------
% devices = PsychHID('Devices') % Get a list of all human-interface devices (HID)
% clear all
% -------------------------------------------------------------------------
% TASK BELOW
%
% -------------------------------------------------------------------------
% Initiate Training
% -------------------------------------------------------------------------
% training;
% -------------------------------------------------------------------------
% Initiate Experiment
% -------------------------------------------------------------------------
% eyes_closed;
% run_main_task;