File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 11function [el , cfg ] = eyeTracker(input , cfg )
22 % [el] = eyeTracker(input, cfg)
33 %
4- % Wrapper function that deals with all the necessery actions to implement
4+ % Wrapper function that deals with all the necessery actions to implement
55 % Eye Tracker recording with eyelink.
66 %
77 % INPUT
Original file line number Diff line number Diff line change 11function retval = isOctave
22 % Return: true if the environment is Octave.
33 % mostly used to testing when PTB is not in the path
4-
4+
55 persistent cacheval % speeds up repeated calls
66
77 if isempty (cacheval )
Original file line number Diff line number Diff line change 1515 if isfield(structure , names{i }) && isstruct(structure.(names{i }))
1616
1717 structure.(names{i }) = ...
18- setDefaults(...
18+ setDefaults( ...
1919 structure.(names{i }), ...
20- fieldsToSet.(names{i })...
20+ fieldsToSet.(names{i }) ...
2121 );
2222
2323 else
3838 if ~isfield(structure , fieldName )
3939 structure.(fieldName ) = value ;
4040 end
41- end
41+ end
You can’t perform that action at this time.
0 commit comments