Eyelink(‘OpenFile’)

Psychtoolbox>Eyelink.{mex*} subfunction

[status =] Eyelink(‘OpenFile’, filename [, dontOpenExisting=0])

Opens an EDF file ‘filename’ on the tracker computer, closes any existing file.
If the optional flag ‘dontOpenExisting’ is set to a non-zero value, then the
file is only opened, and thereby created, if it doesn’t already exist. Otherwise
the function aborts with an error.
Returns 0 if success, else error code

###See also: