function []=fmris_filegen_gui(Volume); col1 = [0.2 0.6 0.9]; col2 = col1*0.9; col3 = [1 1 1]; col4 = col2*1; col5 = col1*.8; h0 = figure('Units','normalized', ... 'Color',col1, ... 'Name','Tstat_Threshold', ... 'NumberTitle','off', ... 'Resize','off', ... 'Position',[0.3 0.4 0.4 0.3], ... 'Tag','fmrilm'); screen = get(0,'ScreenSize'); font_size = round((screen(3)-400)/200)+3; font_name = 'Helvetica'; h1 = uicontrol('Parent',h0, ... 'Units','normalized', ... 'BackgroundColor',col5, ... 'CallBack', 'Volume=get(gcf,''UserData'');delete(gcf);set(Volume.fig,''Visible'',''on'');return;', ... 'FontName', font_name, ... 'FontSize', font_size, ... 'ListboxTop',0, ... 'Position',[0.80 0.15 0.10 0.06], ... 'String','Back', ... 'Style','pushbutton', ... 'Tag','Push1'); h1 = uicontrol('Parent',h0, ... 'Units','normalized', ... 'BackgroundColor',col5, ... 'CallBack', 'fmris_filegen_gui_cb', ... 'FontName', font_name, ... 'FontSize', font_size, ... 'ListboxTop',0, ... 'Position',[0.20 0.75 0.60 0.10], ... 'String','Single File Type List', ... 'Style','pushbutton', ... 'Tag','Single'); h1 = uicontrol('Parent',h0, ... 'Units','normalized', ... 'BackgroundColor',col5, ... 'CallBack', 'fmris_filegen_gui_cb', ... 'FontName', font_name, ... 'FontSize', font_size, ... 'ListboxTop',0, ... 'Position',[0.20 0.55 0.60 0.10], ... 'String','MultiStat File Type List', ... 'Style','pushbutton', ... 'Tag','Multiple'); h1 = uicontrol('Parent',h0, ... 'Units','normalized', ... 'BackgroundColor',col5, ... 'CallBack', 'fmris_filegen_gui_cb', ... 'FontName', font_name, ... 'FontSize', font_size, ... 'ListboxTop',0, ... 'Position',[0.20 0.35 0.60 0.10], ... 'String','Numerical Frames Type List', ... 'Style','pushbutton', ... 'Tag','Frames'); set(gcf,'UserData',Volume); fmris_filegen_gui_cb;