|
1 | 1 | function [el, cfg] = eyeTracker(input, cfg, varargin) |
2 | 2 | % |
3 | | - % Wrapper function that deals with all the necessery actions to implement |
| 3 | + % Wrapper function that deals with all the necessary actions to implement |
4 | 4 | % Eye Tracker recording with eyelink. |
5 | 5 | % |
6 | 6 | % USAGE: |
|
69 | 69 |
|
70 | 70 | % Initialize EL and make sure it worked: returns 0 if OK, -1 if error. |
71 | 71 |
|
72 | | - % Check that EL is initialzed and connected, otherwise abort experiment |
| 72 | + % Check that EL is initialized and connected, otherwise abort experiment |
73 | 73 | eyetrackerCheckConnection; |
74 | 74 |
|
75 | 75 | % Open the edf file to write the data. |
|
277 | 277 | error([newline 'Eyelink is not connected, aborted.']); |
278 | 278 | end |
279 | 279 |
|
280 | | - % Initialize Eyelink system and connection: returns 1 when succesful, 0 |
| 280 | + % Initialize Eyelink system and connection: returns 1 when successful, 0 |
281 | 281 | % otherwise |
282 | 282 | if ~EyelinkInit(0, 1) |
283 | 283 | Eyelink('shutdown'); |
|
323 | 323 | % 'Start_Ret_', ... |
324 | 324 | % 'Subj_', cfg.Subj, '_', ... |
325 | 325 | % 'Run', num2str(cfg.Session(end)), '_', ... |
326 | | -% cfg.Apperture, '_', ... |
| 326 | +% cfg.Aperture, '_', ... |
327 | 327 | % cfg.Direction]); |
328 | 328 | % iViewX('incrementsetnumber', ivx, 0); |
329 | 329 | % end |
|
342 | 342 | % strFile = fullfile(OutputDir, ... |
343 | 343 | % [cfg.Subj, ... |
344 | 344 | % '_run', num2str(cfg.Session(end)), '_', ... |
345 | | -% cfg.Apperture, '_', ... |
| 345 | +% cfg.Aperture, '_', ... |
346 | 346 | % cfg.Direction, '_', ... |
347 | 347 | % thedatestr, '.idf"']); |
348 | 348 | % iViewX('datafile', ivx, strFile); |
|
0 commit comments