Skip to content

Commit d5c60dc

Browse files
committed
add save EL version in cfg
1 parent fd85a61 commit d5c60dc

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/eyeTracker.m

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
function [el] = eyeTracker(input, cfg)
1+
function [el, cfg] = eyeTracker(input, cfg)
22
% [el] = eyeTracker(input, cfg)
33
%
44
% Wrapper function that deals with all the necessery actions to implement Eye Tracker recording.
@@ -63,6 +63,10 @@
6363

6464
% Get EyeLink setup information.
6565
[el.v, el.vs] = Eyelink('GetTrackerVersion');
66+
67+
% Save EL setup version in cfg
68+
cfg.eyeTracker.eyeLinkVersionString = el.vs;
69+
6670
fprintf('Running experiment on a ''%s'' tracker.\n', el.vs);
6771

6872
% Make sure that we get gaze data from the Eyelink.

0 commit comments

Comments
 (0)