diff --git a/src/Import/eyelink/import_eyelink.m b/src/Import/eyelink/import_eyelink.m index 15f94186b..12d7a5a18 100644 --- a/src/Import/eyelink/import_eyelink.m +++ b/src/Import/eyelink/import_eyelink.m @@ -387,7 +387,11 @@ parts = split(msg); chan_info{sess_idx}.track_mode = parts{4}; chan_info{sess_idx}.sr = str2num(parts{5}); - chan_info{sess_idx}.eyesObserved = parts{8}; + if length(parts)>8 + chan_info{sess_idx}.eyesObserved = parts{10}; + else + chan_info{sess_idx}.eyesObserved = parts{8}; + end elseif contains(msg, pupil_str) parts = split(msg); chan_info{sess_idx}.diam_vals = lower(parts{2});