Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion cleanUp.m
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,19 @@ function cleanUp()
% Screen Close All
sca;

% Shut down connection with Eyelink
try
Eyelink('shutdown')
catch
end

% Close Psychportaudio if open
if PsychPortAudio('GetOpenDeviceCount') ~= 0
PsychPortAudio('Close');
end

if ~ismac
% remove PsychDebugWindowConfiguration
% Remove PsychDebugWindowConfiguration
clear Screen;
end

Expand Down