Scheduled service maintenance on November 22


On Friday, November 22, 2024, between 06:00 CET and 18:00 CET, GIN services will undergo planned maintenance. Extended service interruptions should be expected. We will try to keep downtimes to a minimum, but recommend that users avoid critical tasks, large data uploads, or DOI requests during this time.

We apologize for any inconvenience.

ptb_path.m 506 B

12345678910111213141516171819202122
  1. function ptb_path
  2. ptb_root = 'C:\_Toolboxes\Psychtoolbox3.0.12\';
  3. if ~any(which('Screen'))
  4. if exist(ptb_root,'dir')
  5. pp = genpath(ptb_root); addpath(pp);
  6. rmpath([ptb_root 'PsychBasic\MatlabWindowsFilesR2007a\']);
  7. rdir = [ptb_root 'PsychBasic\MatlabWindowsFilesR2007a\'];
  8. addpath(rdir);
  9. else
  10. try
  11. Screen('Windows')
  12. catch
  13. error('Psychtoolbox not found')
  14. end
  15. end
  16. end