Skip to content

Commit 6109ffc

Browse files
Merge pull request #69 from marcobarilari/marco_cleanUp-ET
cleanUP eyeTracker shut down
2 parents 9dc88a2 + f0b70d1 commit 6109ffc

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

cleanUp.m

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,19 @@ function cleanUp()
1616
% Screen Close All
1717
sca;
1818

19+
% Shut down connection with Eyelink
20+
try
21+
Eyelink('shutdown')
22+
catch
23+
end
24+
1925
% Close Psychportaudio if open
2026
if PsychPortAudio('GetOpenDeviceCount') ~= 0
2127
PsychPortAudio('Close');
2228
end
2329

2430
if ~ismac
25-
% remove PsychDebugWindowConfiguration
31+
% Remove PsychDebugWindowConfiguration
2632
clear Screen;
2733
end
2834

0 commit comments

Comments
 (0)