function varargout = MODEgui(varargin)
% MODEGUI M-file for MODEgui.fig
% MODEGUI, by itself, creates a new MODEGUI or raises the existing
% singleton*.
%
% H = MODEGUI returns the handle to a new MODEGUI or the handle to
% the existing singleton*.
%
% MODEGUI('CALLBACK',hObject,eventData,handles,...) calls the local
% function named CALLBACK in MODEGUI.M with the given input arguments.
%
% MODEGUI('Property','Value',...) creates a new MODEGUI or raises the
% existing singleton*. Starting from the left, property value pairs are
% applied to the GUI before MODEgui_OpeningFcn gets called. An
% unrecognized property name or invalid value makes property application
% stop. All inputs are passed to MODEgui_OpeningFcn via varargin.
%
% *See GUI Options on GUIDE's Tools menu. Choose "GUI allows only one
% instance to run (singleton)".
%
% See also: GUIDE, GUIDATA, GUIHANDLES
% Edit the above text to modify the response to help MODEgui
% Last Modified by GUIDE v2.5 25-May-2009 22:58:57
% Begin initialization code - DO NOT EDIT
gui_Singleton = 1;
gui_State = struct('gui_Name', mfilename, ...
'gui_Singleton', gui_Singleton, ...
'gui_OpeningFcn', @MODEgui_OpeningFcn, ...
'gui_OutputFcn', @MODEgui_OutputFcn, ...
'gui_LayoutFcn', [] , ...
'gui_Callback', []);
if nargin && ischar(varargin{1})
gui_State.gui_Callback = str2func(varargin{1});
end
if nargout
[varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
else
gui_mainfcn(gui_State, varargin{:});
end
% End initialization code - DO NOT EDIT
% --- Executes just before MODEgui is made visible.
function MODEgui_OpeningFcn(hObject, eventdata, handles, varargin)
% This function has no output args, see OutputFcn.
% hObject handle to figure
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% varargin command line arguments to MODEgui (see VARARGIN)
% Choose default command line output for MODEgui
handles.output = hObject;
warning('off', 'all'); % suppress all MATLAB warning messages
[X,map] = imread('MODE_new.jpg');
imshow(X,map) % display image on front page
% Update handles structure
guidata(hObject, handles);
% UIWAIT makes MODEgui wait for user response (see UIRESUME)
% uiwait(handles.figure1);
% --- Outputs from this function are returned to the command line.
function varargout = MODEgui_OutputFcn(hObject, eventdata, handles)
% varargout cell array for returning output args (see VARARGOUT);
% hObject handle to figure
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% Get default command line output from handles structure
varargout{1} = handles.output;
function edit1_Callback(hObject, eventdata, handles)
% hObject handle to edit1 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% Hints: get(hObject,'String') returns contents of edit1 as text
% str2double(get(hObject,'String')) returns contents of edit1 as a double
% --- Executes during object creation, after setting all properties.
function edit1_CreateFcn(hObject, eventdata, handles)
% hObject handle to edit1 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles empty - handles not created until after all CreateFcns called
% Hint: edit controls usually have a white background on Windows.
% See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
set(hObject,'BackgroundColor','white');
end
function edit2_Callback(hObject, eventdata, handles)
% hObject handle to edit2 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% Hints: get(hObject,'String') returns contents of edit2 as text
% str2double(get(hObject,'String')) returns contents of edit2 as a double
% --- Executes during object creation, after setting all properties.
function edit2_CreateFcn(hObject, eventdata, handles)
% hObject handle to edit2 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles empty - handles not created until after all CreateFcns called
% Hint: edit controls usually have a white background on Windows.
% See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
set(hObject,'BackgroundColor','white');
end
% --------------------------------------------------------------------
function file_menu_Callback(hObject, eventdata, handles)
% hObject handle to file_menu (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% --------------------------------------------------------------------
function model_menu_Callback(hObject, eventdata, handles)
% hObject handle to model_menu (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% --------------------------------------------------------------------
function Examples_menu_Callback(hObject, eventdata, handles)
% hObject handle to Examples_menu (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% --------------------------------------------------------------------
function Help_menu_Callback(hObject, eventdata, handles)
% hObject handle to Help_menu (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% --------------------------------------------------------------------
function Faq_menu_item_Callback(hObject, eventdata, handles)
% hObject handle to Faq_menu_item (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
open('blueberry-tart.pdf')
% --------------------------------------------------------------------
function Contact_menu_item_Callback(hObject, eventdata, handles)
% hObject handle to Contact_menu_item (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% Contact information are stored in a local html file
open('Contact.html')
% --------------------------------------------------------------------
function Credit_menu_item_Callback(hObject, eventdata, handles)
% hObject handle to Credit_menu_item (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% Credit information are stored at a website
open('Credits.html')
% --------------------------------------------------------------------
function License_menu_item_Callback(hObject, eventdata, handles)
% hObject handle to License_menu_item (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
open('License.html')
% --------------------------------------------------------------------
function overview_menu_item_Callback(hObject, eventdata, handles)
% hObject handle to overview_menu_item (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% --------------------------------------------------------------------
function Article_menu_item_Callback(hObject, eventdata, handles)
% hObject handle to Article_menu_item (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
open('GrossbergPilly_VisionRes2008.pdf')
% --------------------------------------------------------------------
function tutorial_menu_item_Callback(hObject, eventdata, handles)
% hObject handle to tutorial_menu_item (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
open('Tutorial.ppt')
% --------------------------------------------------------------------
function Exit_menu_item_Callback(hObject, eventdata, handles)
% hObject handle to Exit_menu_item (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
%
set(0, 'showhiddenhandles', 'on');
delete(findobj('Type','Figure')); % delete all figures, including GUIs
% for i=1:length(hf)
% fn=get(hf(i),'FileName');
% if length(fn)==0
% delete(hf(i))
% end
% end
% % now delete the, remaining, GUI figures
% hf=findobj('Type','Figure')
% delete(hf)
% --------------------------------------------------------------------
function System_diagram_menu_item_Callback(hObject, eventdata, handles)
% hObject handle to System_diagram_menu_item (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
open('System_diagram.pdf')
% --------------------------------------------------------------------
function Input_menu_item_Callback(hObject, eventdata, handles)
% hObject handle to Input_menu_item (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
open('Input.pdf')
% --------------------------------------------------------------------
function Shunting_and_habituative_dynamics_menu_item_Callback(hObject, eventdata, handles)
% hObject handle to Shunting_and_habituative_dynamics_menu_item (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% open('Shunting_and_habituative_dynamics.pdf')
% --------------------------------------------------------------------
function RT_Task_menu_item_Callback(hObject, eventdata, handles)
% hObject handle to RT_Task_menu_item (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% RT_Task;
function edit3_Callback(hObject, eventdata, handles)
% hObject handle to edit3 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% Hints: get(hObject,'String') returns contents of edit3 as text
% str2double(get(hObject,'String')) returns contents of edit3 as a double
% --- Executes during object creation, after setting all properties.
function edit3_CreateFcn(hObject, eventdata, handles)
% hObject handle to edit3 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles empty - handles not created until after all CreateFcns called
% Hint: edit controls usually have a white background on Windows.
% See ISPC and COMPUTER.
if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor'))
set(hObject,'BackgroundColor','white');
end
% --------------------------------------------------------------------
function axes_context_menu_Callback(hObject, eventdata, handles)
% hObject handle to axes_context_menu (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% --------------------------------------------------------------------
function FD_Task_2002_menu_item_Callback(hObject, eventdata, handles)
% hObject handle to FD_Task_2002_menu_item (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% FD_Task_2002;
% --------------------------------------------------------------------
function FD_Task_2001_menu_item_Callback(hObject, eventdata, handles)
% hObject handle to FD_Task_2001_menu_item (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% FD_Task_2001;
% --------------------------------------------------------------------
function How_to_run_menu_item_Callback(hObject, eventdata, handles)
% hObject handle to How_to_run_menu_item (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% --------------------------------------------------------------------
function Task_simulations_menu_item_Callback(hObject, eventdata, handles)
% hObject handle to Task_simulations_menu_item (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% open('Task_simulations.pdf')
% --------------------------------------------------------------------
function Directional_transient_cells_menu_item_Callback(hObject, eventdata, handles)
% hObject handle to Directional_transient_cells_menu_item (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
open('Directional_transient_cells.pdf')
% --------------------------------------------------------------------
function Directional_short_range_filter_menu_item_Callback(hObject, eventdata, handles)
% hObject handle to Directional_short_range_filter_menu_item (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
open('Directional_short-range_filters.pdf')
% --------------------------------------------------------------------
function Spatial_and_opponent_directional_competition_menu_item_Callback(hObject, eventdata, handles)
% hObject handle to Spatial_and_opponent_directional_competition_menu_item (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
open('Spatial_and_opponent_directional_competition.pdf')
% --------------------------------------------------------------------
function Directional_long_range_filter_menu_item_Callback(hObject, eventdata, handles)
% hObject handle to Directional_long_range_filter_menu_item (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
open('Directional_long-range_filters.pdf')
% --------------------------------------------------------------------
function Directional_grouping_menu_item_Callback(hObject, eventdata, handles)
% hObject handle to Directional_grouping_menu_item (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
open('Directional_grouping_network.pdf')
% --------------------------------------------------------------------
function Decision_cells_and_decision_gating_menu_item_Callback(hObject, eventdata, handles)
% hObject handle to Decision_cells_and_decision_gating_menu_item (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
open('Decision_cells_and_decision_gating.pdf')
% --------------------------------------------------------------------
function Run_menu_Callback(hObject, eventdata, handles)
% hObject handle to Examples_menu (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% --------------------------------------------------------------------
function Articles_menu_Callback(hObject, eventdata, handles)
% hObject handle to Articles_menu (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% --------------------------------------------------------------------
function Tutorial_menu_Callback(hObject, eventdata, handles)
% hObject handle to Tutorial_menu (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% --------------------------------------------------------------------
function Code_menu_Callback(hObject, eventdata, handles)
% hObject handle to Code_menu (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% --------------------------------------------------------------------
function Abstract_menu_item_Callback(hObject, eventdata, handles)
% hObject handle to Abstract_menu_item (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
open('Abstract.pdf')
% --------------------------------------------------------------------
function Close_All_Figures_Callback(hObject, eventdata, handles)
% hObject handle to Close_All_Figures (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% oldStatus = set(0,'showhiddenhandles') % store the current status
% set(0, 'showhiddenhandles', 'off');
% delete(findobj('Type', 'figure')); % find all displays of type "figure"
hf = findobj('Type', 'Figure');
if length(hf) > 0
for i=1:length(hf)
fn=get(hf(i),'FileName');
if length(fn)==0
delete(hf(i))
end
end
end
%set(0, 'showhiddenhandles', oldStatus);
% --------------------------------------------------------------------
function Non_directional_transient_cells_menu_item_Callback(hObject, eventdata, handles)
% hObject handle to Non_directional_transient_cells_menu_item (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
open('Non-directional_transient_cells.pdf')
% --------------------------------------------------------------------
function Source_codes_menu_item_Callback(hObject, eventdata, handles)
% hObject handle to Source_codes_menu_item (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
open('HTML/index.html');
% --------------------------------------------------------------------
function Low_coherence_menu_item_Callback(hObject, eventdata, handles)
% hObject handle to Low_coherence_menu_item (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% --------------------------------------------------------------------
function Medium_coherence_menu_item_Callback(hObject, eventdata, handles)
% hObject handle to Medium_coherence_menu_item (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% --------------------------------------------------------------------
function High_coherence_menu_item_Callback(hObject, eventdata, handles)
% hObject handle to High_coherence_menu_item (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% --------------------------------------------------------------------
function low_input_menu_item_Callback(hObject, eventdata, handles)
% hObject handle to low_input_menu_item (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
open('lowCoh_input.html')
% --------------------------------------------------------------------
function low_non_directional_transient_cells_menu_item_Callback(hObject, eventdata, handles)
% hObject handle to low_non_directional_transient_cells_menu_item (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
open('lowCoh_non-directional_transient_cells.html')
% --------------------------------------------------------------------
function low_directional_transient_cells_menu_item_Callback(hObject, eventdata, handles)
% hObject handle to low_directional_transient_cells_menu_item (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
open('lowCoh_directional_transient_cells.html')
% --------------------------------------------------------------------
function low_directional_short_range_filters_menu_item_Callback(hObject, eventdata, handles)
% hObject handle to low_directional_short_range_filters_menu_item (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
open('lowCoh_directional_short-range_filters.html')
% --------------------------------------------------------------------
function Untitled_8_Callback(hObject, eventdata, handles)
% hObject handle to Untitled_8 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
open('lowCoh_directional_long-range_filters.html')
% --------------------------------------------------------------------
function low_directional_grouping_network_menu_item_Callback(hObject, eventdata, handles)
% hObject handle to low_directional_grouping_network_menu_item (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
open('lowCoh_directional_grouping_network.html')
% --------------------------------------------------------------------
function low_decision_cells_and_decision_gating_menu_item_Callback(hObject, eventdata, handles)
% hObject handle to low_decision_cells_and_decision_gating_menu_item (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% --------------------------------------------------------------------
function low_reaction_time_task_menu_item_Callback(hObject, eventdata, handles)
% hObject handle to low_reaction_time_task_menu_item (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
open('lowCoh_RT_task.html')
% --------------------------------------------------------------------
function low_fixed_duration_task_menu_item_Callback(hObject, eventdata, handles)
% hObject handle to low_fixed_duration_task_menu_item (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
open('lowCoh_FD_task.html')
% --------------------------------------------------------------------
function Reaction_time_task_menu_item_Callback(hObject, eventdata, handles)
% hObject handle to Reaction_time_task_menu_item (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% --------------------------------------------------------------------
function FD_menu_item_Callback(hObject, eventdata, handles)
% hObject handle to FD_menu_item (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% --------------------------------------------------------------------
function FD_description_menu_item_Callback(hObject, eventdata, handles)
% hObject handle to FD_description_menu_item (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
open('Fixed_duration_task.pdf')
% --------------------------------------------------------------------
function FD_application_test_menu_item_Callback(hObject, eventdata, handles)
% hObject handle to FD_application_test_menu_item (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% --------------------------------------------------------------------
function FD_advanced_run_menu_item_Callback(hObject, eventdata, handles)
% hObject handle to FD_advanced_run_menu_item (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
%FDnew
% --------------------------------------------------------------------
function RT_description_menu_item_Callback(hObject, eventdata, handles)
% hObject handle to RT_description_menu_item (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
open('Reaction_time_task.pdf')
% --------------------------------------------------------------------
function RT_application_test_menu_item_Callback(hObject, eventdata, handles)
% hObject handle to RT_application_test_menu_item (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% --------------------------------------------------------------------
function RT_advanced_run_menu_item_Callback(hObject, eventdata, handles)
% hObject handle to RT_advanced_run_menu_item (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
%RTnew
% --------------------------------------------------------------------
function med_input_menu_item_Callback(hObject, eventdata, handles)
% hObject handle to med_input_menu_item (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
open('medCoh_input.html')
% --------------------------------------------------------------------
function med_non_directional_transient_cells_menu_item_Callback(hObject, eventdata, handles)
% hObject handle to med_non_directional_transient_cells_menu_item (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
open('medCoh_non-directional_transient_cells.html')
% --------------------------------------------------------------------
function med_directional_transient_cells_menu_item_Callback(hObject, eventdata, handles)
% hObject handle to med_directional_transient_cells_menu_item (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
open('medCoh_directional_transient_cells.html')
% --------------------------------------------------------------------
function med_directional_short_range_filters_menu_item_Callback(hObject, eventdata, handles)
% hObject handle to med_directional_short_range_filters_menu_item (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
open('medCoh_directional_short-range_filters.html')
% --------------------------------------------------------------------
function med_directional_long_range_filters_menu_item_Callback(hObject, eventdata, handles)
% hObject handle to med_directional_long_range_filters_menu_item (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
open('medCoh_directional_long-range_filters.html')
% --------------------------------------------------------------------
function med_directional_grouping_network_menu_item_Callback(hObject, eventdata, handles)
% hObject handle to med_directional_grouping_network_menu_item (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
open('medCoh_directional_grouping_network.html')
% --------------------------------------------------------------------
function med_decision_cells_and_decision_gating_menu_item_Callback(hObject, eventdata, handles)
% hObject handle to med_decision_cells_and_decision_gating_menu_item (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% --------------------------------------------------------------------
function med_reaction_time_task_menu_item_Callback(hObject, eventdata, handles)
% hObject handle to med_reaction_time_task_menu_item (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
open('medCoh_RT_task.html')
% --------------------------------------------------------------------
function med_fixed_duration_task_menu_item_Callback(hObject, eventdata, handles)
% hObject handle to med_fixed_duration_task_menu_item (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
open('medCoh_FD_task.html')
% --------------------------------------------------------------------
function high_input_menu_item_Callback(hObject, eventdata, handles)
% hObject handle to high_input_menu_item (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
open('highCoh_input.html')
% --------------------------------------------------------------------
function high_non_directional_transient_cells_menu_item_Callback(hObject, eventdata, handles)
% hObject handle to high_non_directional_transient_cells_menu_item (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
open('highCoh_non-directional_transient_cells.html')
% --------------------------------------------------------------------
function high_directional_transient_cells_menu_item_Callback(hObject, eventdata, handles)
% hObject handle to high_directional_transient_cells_menu_item (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
open('highCoh_directional_transient_cells.html')
% --------------------------------------------------------------------
function high_directional_short_range_filters_menu_item_Callback(hObject, eventdata, handles)
% hObject handle to high_directional_short_range_filters_menu_item (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
open('highCoh_directional_short-range_filters.html')
% --------------------------------------------------------------------
function high_directional_long_range_filters_menu_item_Callback(hObject, eventdata, handles)
% hObject handle to high_directional_long_range_filters_menu_item (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
open('highCoh_directional_long-range_filters.html')
% --------------------------------------------------------------------
function high_directional_grouping_network_menu_item_Callback(hObject, eventdata, handles)
% hObject handle to high_directional_grouping_network_menu_item (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
open('highCoh_directional_grouping_network.html')
% --------------------------------------------------------------------
function high_decision_cells_and_decision_gating_menu_item_Callback(hObject, eventdata, handles)
% hObject handle to high_decision_cells_and_decision_gating_menu_item (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% --------------------------------------------------------------------
function high_reaction_time_task_menu_item_Callback(hObject, eventdata, handles)
% hObject handle to high_reaction_time_task_menu_item (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
open('highCoh_RT_task.html')
% --------------------------------------------------------------------
function high_fixed_duration_task_menu_item_Callback(hObject, eventdata, handles)
% hObject handle to high_fixed_duration_task_menu_item (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
open('highCoh_FD_task.html')
% --------------------------------------------------------------------
function RT_advanced_run_description_Callback(hObject, eventdata, handles)
% hObject handle to RT_advanced_run_description (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
open('RT_advanced_run_description.pdf');
% --------------------------------------------------------------------
function RT_advanced_run_Callback(hObject, eventdata, handles)
% hObject handle to RT_advanced_run (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
RTnew
% --------------------------------------------------------------------
function RT_application_test_description_Callback(hObject, eventdata, handles)
% hObject handle to RT_application_test_description (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
open('RT_replication_test_description.pdf');
% --------------------------------------------------------------------
function RT_application_test_run_Callback(hObject, eventdata, handles)
% hObject handle to RT_application_test_run (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
runTask(1,1,2,5,5,5,55,0);
open('RTcaption.pdf')
% --------------------------------------------------------------------
function FD_advanced_run_description_Callback(hObject, eventdata, handles)
% hObject handle to FD_advanced_run_description (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
open('FD_advanced_run_description.pdf');
% --------------------------------------------------------------------
function FD_advanced_run_Callback(hObject, eventdata, handles)
% hObject handle to FD_advanced_run (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
FDnew;
% --------------------------------------------------------------------
function FD_application_test_description_Callback(hObject, eventdata, handles)
% hObject handle to FD_application_test_description (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
open('FD_replication_test_description.pdf');
% --------------------------------------------------------------------
function FD_application_test_run_Callback(hObject, eventdata, handles)
% hObject handle to FD_application_test_run (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
runTask(2,4.5,2,5,5,5,0,9);
open('FDcaption.pdf')
% --- Executes on mouse press over figure background.
function figure1_ButtonDownFcn(hObject, eventdata, handles)
% hObject handle to figure1 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% --------------------------------------------------------------------
function Untitled_13_Callback(hObject, eventdata, handles)
% hObject handle to Untitled_13 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
open('RoitmanShadlen2002.pdf')
% --------------------------------------------------------------------
function Untitled_15_Callback(hObject, eventdata, handles)
% hObject handle to Untitled_15 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
open('ShadlenNewsome2001.pdf')