Browse Source

Elimina 'Script task/MoBi_Screen_Settings_Brescia.m'

Giacomo Guidali 1 year ago
parent
commit
8340e9ac4e
1 changed files with 0 additions and 29 deletions
  1. 0 29
      Script task/MoBi_Screen_Settings_Brescia.m

+ 0 - 29
Script task/MoBi_Screen_Settings_Brescia.m

@@ -1,29 +0,0 @@
-function [window, misure_schermo, screenNum, CenterX, CenterY, ifi] = MoBi_Screen_Settings_Brescia(tinker)
-
-
-PsychDefaultSetup(2);
-
-PsychImaging('PrepareConfiguration');
-PsychImaging('AddTask', 'General', 'FloatingPoint32Bit');
-
-screenNum = max(Screen('Screens')); % Screen Number
-
-if tinker == 0
-[window, misure_schermo] = PsychImaging('OpenWindow', screenNum);
-else %[0 0 640 480]
-[window, misure_schermo] = PsychImaging('OpenWindow', screenNum, [],[0 0 640 360]);%
-Screen('Preference', 'SkipSyncTests', 1)
-end
-
-
-ifi = Screen('GetFlipInterval', window);
-
-[CenterX, CenterY] = RectCenter(misure_schermo);%variabile coordinate centro dell schermo, [orizzontale verticale]
-
-disp(ifi)
-
-% Maximum priority level
-topPriorityLevel = MaxPriority(window);
-Priority(topPriorityLevel);
-
-end