From f18b60a60b0223c934700fbd50b1808fe5fa233f Mon Sep 17 00:00:00 2001 From: "ban.hiroshi" Date: Tue, 23 Apr 2019 15:59:22 +0900 Subject: [PATCH] Updated the timing on closing a PTB's OpenGL-based LUT object. Signed-off-by: ban.hiroshi --- Presentation/cbar.m | 18 +++++++++--------- Presentation/cbar_fixtask.m | 18 +++++++++--------- Presentation/cdual.m | 18 +++++++++--------- Presentation/cdual_fixtask.m | 18 +++++++++--------- Presentation/chrf.m | 18 +++++++++--------- Presentation/chrf_fixtask.m | 18 +++++++++--------- Presentation/clgnlocalizer.m | 18 +++++++++--------- Presentation/clgnlocalizer_fixtask.m | 18 +++++++++--------- Presentation/clocalizer.m | 18 +++++++++--------- Presentation/clocalizer_fixtask.m | 18 +++++++++--------- Presentation/cmeridian.m | 18 +++++++++--------- Presentation/cmeridian_fixtask.m | 18 +++++++++--------- Presentation/cmultifocal.m | 18 +++++++++--------- Presentation/cmultifocal_fixtask.m | 18 +++++++++--------- Presentation/cretinotopy.m | 18 +++++++++--------- Presentation/cretinotopy_fixtask.m | 18 +++++++++--------- 16 files changed, 144 insertions(+), 144 deletions(-) diff --git a/Presentation/cbar.m b/Presentation/cbar.m index 65e4a0f..cb1c507 100644 --- a/Presentation/cbar.m +++ b/Presentation/cbar.m @@ -33,7 +33,7 @@ function cbar(subjID,exp_mode,acq,displayfile,stimulusfile,gamma_table,overwrite % % % Created : "2018-11-20 09:37:46 ban" -% Last Update: "2019-04-23 15:14:58 ban" +% Last Update: "2019-04-23 15:57:55 ban" % % % @@ -1047,6 +1047,14 @@ function cbar(subjID,exp_mode,acq,displayfile,stimulusfile,gamma_table,overwrite fprintf('\n'); +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%%%% Cleaning up MATLAB OpenGL shader API +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +% just call DrawTextureWithCLUT without any input argument +DrawTextureWithCLUT(); + + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%% Cleaning up the PTB screen %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -1085,14 +1093,6 @@ function cbar(subjID,exp_mode,acq,displayfile,stimulusfile,gamma_table,overwrite fprintf('done.\n'); -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -%%%% Cleaning up MATLAB OpenGL shader API -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% - -% just call DrawTextureWithCLUT without any input argument -DrawTextureWithCLUT(); - - %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%% Removing path to the subfunctions, and finalizing the script %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% diff --git a/Presentation/cbar_fixtask.m b/Presentation/cbar_fixtask.m index 0c4766a..1b14c06 100644 --- a/Presentation/cbar_fixtask.m +++ b/Presentation/cbar_fixtask.m @@ -31,7 +31,7 @@ function cbar_fixtask(subjID,exp_mode,acq,displayfile,stimulusfile,gamma_table,o % % % Created : "2018-11-22 13:23:43 ban" -% Last Update: "2019-04-23 15:14:37 ban" +% Last Update: "2019-04-23 15:57:46 ban" % % % @@ -1008,6 +1008,14 @@ function cbar_fixtask(subjID,exp_mode,acq,displayfile,stimulusfile,gamma_table,o fprintf('\n'); +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%%%% Cleaning up MATLAB OpenGL shader API +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +% just call DrawTextureWithCLUT without any input argument +DrawTextureWithCLUT(); + + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%% Cleaning up the PTB screen %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -1046,14 +1054,6 @@ function cbar_fixtask(subjID,exp_mode,acq,displayfile,stimulusfile,gamma_table,o fprintf('done.\n'); -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -%%%% Cleaning up MATLAB OpenGL shader API -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% - -% just call DrawTextureWithCLUT without any input argument -DrawTextureWithCLUT(); - - %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%% Removing path to the subfunctions, and finalizing the script %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% diff --git a/Presentation/cdual.m b/Presentation/cdual.m index e190740..f2380eb 100644 --- a/Presentation/cdual.m +++ b/Presentation/cdual.m @@ -39,7 +39,7 @@ function cdual(subjID,exp_mode,acq,displayfile,stimulusfile,gamma_table,overwrit % % % Created : "2018-12-20 14:26:03 ban" -% Last Update: "2019-04-23 15:14:16 ban" +% Last Update: "2019-04-23 15:57:38 ban" % % % @@ -1184,6 +1184,14 @@ function cdual(subjID,exp_mode,acq,displayfile,stimulusfile,gamma_table,overwrit fprintf('\n'); +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%%%% Cleaning up MATLAB OpenGL shader API +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +% just call DrawTextureWithCLUT without any input argument +DrawTextureWithCLUT(); + + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%% Cleaning up the PTB screen %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -1222,14 +1230,6 @@ function cdual(subjID,exp_mode,acq,displayfile,stimulusfile,gamma_table,overwrit fprintf('done.\n'); -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -%%%% Cleaning up MATLAB OpenGL shader API -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% - -% just call DrawTextureWithCLUT without any input argument -DrawTextureWithCLUT(); - - %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%% Removing path to the subfunctions, and finalizing the script %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% diff --git a/Presentation/cdual_fixtask.m b/Presentation/cdual_fixtask.m index 565b2e5..b5c56f0 100644 --- a/Presentation/cdual_fixtask.m +++ b/Presentation/cdual_fixtask.m @@ -39,7 +39,7 @@ function cdual_fixtask(subjID,exp_mode,acq,displayfile,stimulusfile,gamma_table, % % % Created : "2018-12-20 14:26:03 ban" -% Last Update: "2019-04-23 15:13:56 ban" +% Last Update: "2019-04-23 15:57:29 ban" % % % @@ -1152,6 +1152,14 @@ function cdual_fixtask(subjID,exp_mode,acq,displayfile,stimulusfile,gamma_table, fprintf('\n'); +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%%%% Cleaning up MATLAB OpenGL shader API +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +% just call DrawTextureWithCLUT without any input argument +DrawTextureWithCLUT(); + + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%% Cleaning up the PTB screen %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -1190,14 +1198,6 @@ function cdual_fixtask(subjID,exp_mode,acq,displayfile,stimulusfile,gamma_table, fprintf('done.\n'); -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -%%%% Cleaning up MATLAB OpenGL shader API -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% - -% just call DrawTextureWithCLUT without any input argument -DrawTextureWithCLUT(); - - %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%% Removing path to the subfunctions, and finalizing the script %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% diff --git a/Presentation/chrf.m b/Presentation/chrf.m index fcc2c03..18e51ea 100644 --- a/Presentation/chrf.m +++ b/Presentation/chrf.m @@ -28,7 +28,7 @@ function chrf(subjID,exp_mode,acq,displayfile,stimulusfile,gamma_table,overwrite % % % Created : "2019-01-31 17:41:51 ban" -% Last Update: "2019-04-23 15:13:26 ban" +% Last Update: "2019-04-23 15:57:20 ban" % % % @@ -979,6 +979,14 @@ function chrf(subjID,exp_mode,acq,displayfile,stimulusfile,gamma_table,overwrite fprintf('\n'); +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%%%% Cleaning up MATLAB OpenGL shader API +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +% just call DrawTextureWithCLUT without any input argument +DrawTextureWithCLUT(); + + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%% Cleaning up the PTB screen %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -1017,14 +1025,6 @@ function chrf(subjID,exp_mode,acq,displayfile,stimulusfile,gamma_table,overwrite fprintf('done.\n'); -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -%%%% Cleaning up MATLAB OpenGL shader API -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% - -% just call DrawTextureWithCLUT without any input argument -DrawTextureWithCLUT(); - - %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%% Removing path to the subfunctions, and finalizing the script %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% diff --git a/Presentation/chrf_fixtask.m b/Presentation/chrf_fixtask.m index fa17c1f..5678ce3 100644 --- a/Presentation/chrf_fixtask.m +++ b/Presentation/chrf_fixtask.m @@ -28,7 +28,7 @@ function chrf_fixtask(subjID,exp_mode,acq,displayfile,stimulusfile,gamma_table,o % % % Created : "2013-11-25 11:34:54 ban" -% Last Update: "2019-04-23 15:13:05 ban" +% Last Update: "2019-04-23 15:57:10 ban" % % % @@ -963,6 +963,14 @@ function chrf_fixtask(subjID,exp_mode,acq,displayfile,stimulusfile,gamma_table,o fprintf('\n'); +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%%%% Cleaning up MATLAB OpenGL shader API +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +% just call DrawTextureWithCLUT without any input argument +DrawTextureWithCLUT(); + + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%% Cleaning up the PTB screen %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -1001,14 +1009,6 @@ function chrf_fixtask(subjID,exp_mode,acq,displayfile,stimulusfile,gamma_table,o fprintf('done.\n'); -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -%%%% Cleaning up MATLAB OpenGL shader API -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% - -% just call DrawTextureWithCLUT without any input argument -DrawTextureWithCLUT(); - - %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%% Removing path to the subfunctions, and finalizing the script %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% diff --git a/Presentation/clgnlocalizer.m b/Presentation/clgnlocalizer.m index 17d73a7..cbd8afd 100644 --- a/Presentation/clgnlocalizer.m +++ b/Presentation/clgnlocalizer.m @@ -29,7 +29,7 @@ function clgnlocalizer(subjID,exp_mode,acq,displayfile,stimulusfile,gamma_table, % % % Created : "2019-01-31 18:08:27 ban" -% Last Update: "2019-04-23 15:12:43 ban" +% Last Update: "2019-04-23 15:56:59 ban" % % % @@ -999,6 +999,14 @@ function clgnlocalizer(subjID,exp_mode,acq,displayfile,stimulusfile,gamma_table, fprintf('\n'); +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%%%% Cleaning up MATLAB OpenGL shader API +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +% just call DrawTextureWithCLUT without any input argument +DrawTextureWithCLUT(); + + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%% Cleaning up the PTB screen %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -1037,14 +1045,6 @@ function clgnlocalizer(subjID,exp_mode,acq,displayfile,stimulusfile,gamma_table, fprintf('done.\n'); -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -%%%% Cleaning up MATLAB OpenGL shader API -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% - -% just call DrawTextureWithCLUT without any input argument -DrawTextureWithCLUT(); - - %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%% Removing path to the subfunctions, and finalizing the script %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% diff --git a/Presentation/clgnlocalizer_fixtask.m b/Presentation/clgnlocalizer_fixtask.m index e0b824f..e8633b6 100644 --- a/Presentation/clgnlocalizer_fixtask.m +++ b/Presentation/clgnlocalizer_fixtask.m @@ -29,7 +29,7 @@ function clgnlocalizer_fixtask(subjID,exp_mode,acq,displayfile,stimulusfile,gamm % % % Created : "2013-11-25 11:34:54 ban" -% Last Update: "2019-04-23 15:12:22 ban" +% Last Update: "2019-04-23 15:56:52 ban" % % % @@ -982,6 +982,14 @@ function clgnlocalizer_fixtask(subjID,exp_mode,acq,displayfile,stimulusfile,gamm fprintf('\n'); +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%%%% Cleaning up MATLAB OpenGL shader API +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +% just call DrawTextureWithCLUT without any input argument +DrawTextureWithCLUT(); + + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%% Cleaning up the PTB screen %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -1020,14 +1028,6 @@ function clgnlocalizer_fixtask(subjID,exp_mode,acq,displayfile,stimulusfile,gamm fprintf('done.\n'); -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -%%%% Cleaning up MATLAB OpenGL shader API -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% - -% just call DrawTextureWithCLUT without any input argument -DrawTextureWithCLUT(); - - %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%% Removing path to the subfunctions, and finalizing the script %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% diff --git a/Presentation/clocalizer.m b/Presentation/clocalizer.m index c4d3e7b..9cc5234 100644 --- a/Presentation/clocalizer.m +++ b/Presentation/clocalizer.m @@ -31,7 +31,7 @@ function clocalizer(subjID,exp_mode,acq,displayfile,stimulusfile,gamma_table,ove % % % Created : "2013-11-25 11:34:54 ban" -% Last Update: "2019-04-23 15:11:59 ban" +% Last Update: "2019-04-23 15:56:43 ban" % % % @@ -1040,6 +1040,14 @@ function clocalizer(subjID,exp_mode,acq,displayfile,stimulusfile,gamma_table,ove fprintf('\n'); +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%%%% Cleaning up MATLAB OpenGL shader API +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +% just call DrawTextureWithCLUT without any input argument +DrawTextureWithCLUT(); + + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%% Cleaning up the PTB screen %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -1078,14 +1086,6 @@ function clocalizer(subjID,exp_mode,acq,displayfile,stimulusfile,gamma_table,ove fprintf('done.\n'); -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -%%%% Cleaning up MATLAB OpenGL shader API -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% - -% just call DrawTextureWithCLUT without any input argument -DrawTextureWithCLUT(); - - %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%% Removing path to the subfunctions, and finalizing the script %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% diff --git a/Presentation/clocalizer_fixtask.m b/Presentation/clocalizer_fixtask.m index bb8ecd5..5f8bca4 100644 --- a/Presentation/clocalizer_fixtask.m +++ b/Presentation/clocalizer_fixtask.m @@ -31,7 +31,7 @@ function clocalizer_fixtask(subjID,exp_mode,acq,displayfile,stimulusfile,gamma_t % % % Created : "2013-11-25 11:34:54 ban" -% Last Update: "2019-04-23 15:11:35 ban" +% Last Update: "2019-04-23 15:56:34 ban" % % % @@ -1001,6 +1001,14 @@ function clocalizer_fixtask(subjID,exp_mode,acq,displayfile,stimulusfile,gamma_t fprintf('\n'); +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%%%% Cleaning up MATLAB OpenGL shader API +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +% just call DrawTextureWithCLUT without any input argument +DrawTextureWithCLUT(); + + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%% Cleaning up the PTB screen %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -1039,14 +1047,6 @@ function clocalizer_fixtask(subjID,exp_mode,acq,displayfile,stimulusfile,gamma_t fprintf('done.\n'); -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -%%%% Cleaning up MATLAB OpenGL shader API -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% - -% just call DrawTextureWithCLUT without any input argument -DrawTextureWithCLUT(); - - %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%% Removing path to the subfunctions, and finalizing the script %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% diff --git a/Presentation/cmeridian.m b/Presentation/cmeridian.m index e921c2f..5d0a3a1 100644 --- a/Presentation/cmeridian.m +++ b/Presentation/cmeridian.m @@ -35,7 +35,7 @@ function cmeridian(subjID,exp_mode,acq,displayfile,stimulusfile,gamma_table,over % % % Created : "2018-12-11 19:10:32 ban" -% Last Update: "2019-04-23 15:11:12 ban" +% Last Update: "2019-04-23 15:56:26 ban" % % % @@ -1005,6 +1005,14 @@ function cmeridian(subjID,exp_mode,acq,displayfile,stimulusfile,gamma_table,over fprintf('\n'); +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%%%% Cleaning up MATLAB OpenGL shader API +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +% just call DrawTextureWithCLUT without any input argument +DrawTextureWithCLUT(); + + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%% Cleaning up the PTB screen %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -1043,14 +1051,6 @@ function cmeridian(subjID,exp_mode,acq,displayfile,stimulusfile,gamma_table,over fprintf('done.\n'); -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -%%%% Cleaning up MATLAB OpenGL shader API -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% - -% just call DrawTextureWithCLUT without any input argument -DrawTextureWithCLUT(); - - %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%% Removing path to the subfunctions, and finalizing the script %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% diff --git a/Presentation/cmeridian_fixtask.m b/Presentation/cmeridian_fixtask.m index 1113e74..a4f8cfe 100644 --- a/Presentation/cmeridian_fixtask.m +++ b/Presentation/cmeridian_fixtask.m @@ -35,7 +35,7 @@ function cmeridian_fixtask(subjID,exp_mode,acq,displayfile,stimulusfile,gamma_ta % % % Created : "2018-12-12 12:13:50 ban" -% Last Update: "2019-04-23 15:10:45 ban" +% Last Update: "2019-04-23 15:56:18 ban" % % % @@ -991,6 +991,14 @@ function cmeridian_fixtask(subjID,exp_mode,acq,displayfile,stimulusfile,gamma_ta fprintf('\n'); +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%%%% Cleaning up MATLAB OpenGL shader API +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +% just call DrawTextureWithCLUT without any input argument +DrawTextureWithCLUT(); + + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%% Cleaning up the PTB screen %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -1029,14 +1037,6 @@ function cmeridian_fixtask(subjID,exp_mode,acq,displayfile,stimulusfile,gamma_ta fprintf('done.\n'); -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -%%%% Cleaning up MATLAB OpenGL shader API -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% - -% just call DrawTextureWithCLUT without any input argument -DrawTextureWithCLUT(); - - %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%% Removing path to the subfunctions, and finalizing the script %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% diff --git a/Presentation/cmultifocal.m b/Presentation/cmultifocal.m index ae6f805..f806cd5 100644 --- a/Presentation/cmultifocal.m +++ b/Presentation/cmultifocal.m @@ -40,7 +40,7 @@ function cmultifocal(subjID,exp_mode,acq,displayfile,stimulusfile,gamma_table,ov % % % Created : "2018-11-29 12:13:43 ban" -% Last Update: "2019-04-23 15:10:18 ban" +% Last Update: "2019-04-23 15:56:10 ban" % % % @@ -1096,6 +1096,14 @@ function cmultifocal(subjID,exp_mode,acq,displayfile,stimulusfile,gamma_table,ov fprintf('\n'); +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%%%% Cleaning up MATLAB OpenGL shader API +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +% just call DrawTextureWithCLUT without any input argument +DrawTextureWithCLUT(); + + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%% Cleaning up the PTB screen %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -1134,14 +1142,6 @@ function cmultifocal(subjID,exp_mode,acq,displayfile,stimulusfile,gamma_table,ov fprintf('done.\n'); -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -%%%% Cleaning up MATLAB OpenGL shader API -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% - -% just call DrawTextureWithCLUT without any input argument -DrawTextureWithCLUT(); - - %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%% Removing path to the subfunctions, and finalizing the script %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% diff --git a/Presentation/cmultifocal_fixtask.m b/Presentation/cmultifocal_fixtask.m index d7a9a2e..fa0c58a 100644 --- a/Presentation/cmultifocal_fixtask.m +++ b/Presentation/cmultifocal_fixtask.m @@ -40,7 +40,7 @@ function cmultifocal_fixtask(subjID,exp_mode,acq,displayfile,stimulusfile,gamma_ % % % Created : "2018-11-29 21:41:56 ban" -% Last Update: "2019-04-23 15:09:27 ban" +% Last Update: "2019-04-23 15:55:59 ban" % % % @@ -1045,6 +1045,14 @@ function cmultifocal_fixtask(subjID,exp_mode,acq,displayfile,stimulusfile,gamma_ fprintf('\n'); +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%%%% Cleaning up MATLAB OpenGL shader API +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +% just call DrawTextureWithCLUT without any input argument +DrawTextureWithCLUT(); + + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%% Cleaning up the PTB screen %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -1083,14 +1091,6 @@ function cmultifocal_fixtask(subjID,exp_mode,acq,displayfile,stimulusfile,gamma_ fprintf('done.\n'); -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -%%%% Cleaning up MATLAB OpenGL shader API -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% - -% just call DrawTextureWithCLUT without any input argument -DrawTextureWithCLUT(); - - %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%% Removing path to the subfunctions, and finalizing the script %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% diff --git a/Presentation/cretinotopy.m b/Presentation/cretinotopy.m index 74f196c..f120eed 100644 --- a/Presentation/cretinotopy.m +++ b/Presentation/cretinotopy.m @@ -37,7 +37,7 @@ function cretinotopy(subjID,exp_mode,acq,displayfile,stimulusfile,gamma_table,ov % % % Created : "2013-11-25 11:34:59 ban" -% Last Update: "2019-04-23 15:18:40 ban" +% Last Update: "2019-04-23 15:55:49 ban" % % % @@ -1105,6 +1105,14 @@ function cretinotopy(subjID,exp_mode,acq,displayfile,stimulusfile,gamma_table,ov fprintf('\n'); +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%%%% Cleaning up MATLAB OpenGL shader API +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +% just call DrawTextureWithCLUT without any input argument +DrawTextureWithCLUT(); + + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%% Cleaning up the PTB screen %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -1143,14 +1151,6 @@ function cretinotopy(subjID,exp_mode,acq,displayfile,stimulusfile,gamma_table,ov fprintf('done.\n'); -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -%%%% Cleaning up MATLAB OpenGL shader API -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% - -% just call DrawTextureWithCLUT without any input argument -DrawTextureWithCLUT(); - - %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%% Removing path to the subfunctions, and finalizing the script %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% diff --git a/Presentation/cretinotopy_fixtask.m b/Presentation/cretinotopy_fixtask.m index 41c912f..2adc0c7 100644 --- a/Presentation/cretinotopy_fixtask.m +++ b/Presentation/cretinotopy_fixtask.m @@ -37,7 +37,7 @@ function cretinotopy_fixtask(subjID,exp_mode,acq,displayfile,stimulusfile,gamma_ % % % Created : "2013-11-25 11:34:51 ban" -% Last Update: "2019-04-23 15:08:37 ban" +% Last Update: "2019-04-23 15:55:35 ban" % % % @@ -1102,6 +1102,14 @@ function cretinotopy_fixtask(subjID,exp_mode,acq,displayfile,stimulusfile,gamma_ fprintf('\n'); +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +%%%% Cleaning up MATLAB OpenGL shader API +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +% just call DrawTextureWithCLUT without any input argument +DrawTextureWithCLUT(); + + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%% Cleaning up the PTB screen %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% @@ -1140,14 +1148,6 @@ function cretinotopy_fixtask(subjID,exp_mode,acq,displayfile,stimulusfile,gamma_ fprintf('done.\n'); -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -%%%% Cleaning up MATLAB OpenGL shader API -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% - -% just call DrawTextureWithCLUT without any input argument -DrawTextureWithCLUT(); - - %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%% Removing path to the subfunctions, and finalizing the script %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%