A smooth pursuit EyeLink integration demo that records eye movements
while a target moves sinusoidally across the screen. Each trial ends after 5s.

Illustrates how to:

  • change the drift-check/correction target location before each trial
  • create a moving target for Data Viewer’s Play Back Animation view
  • create dynamic target location for Data Viewer’s Temporal Graph view and sample reports
  • create target dynamic interest areas for Data Viewer


screenNumber is an optional parameter which can be used to pass a specific value to PsychImaging(‘OpenWindow’, …)
If screenNumber is not specified, or if isempty(screenNumber) then the default:
screenNumber = max(Screen(‘Screens’));
will be used.

Path   Retrieve current version from GitHub | View changelog