cpp-lln-lab / CPP_PTB

a set of function to make it easier to create behavioral, EEG, fMRI experiment with psychtoolbox
https://cpp-ptb.readthedocs.io/en/latest/index.html#
MIT License
12 stars 13 forks source link

Make sure that debug mode takes care of killing the eyetracker #161

Closed marcobarilari closed 2 years ago

marcobarilari commented 3 years ago

You think / need this code to do Add cfg.eyeTracker.do = false; as default when run in debug mode.

I think this just need to add in setDefaultsPTB something like

if cfg.debug.do

if isfield(cfg, 'debug') && cfg.debug.do

    cfg.eyeTracker.do = false

end
Remi-Gau commented 3 years ago

go for it