% Function for the MODIS GUI
% Copyright by Jasmine S Nahorniak, Oregon State University.
% June 28 2000

function [l2lat,l2lon]=GUInolatlon(region);

l2lat=[];
l2lon=[];

% get the data choice (selected by user)
mainfig=findobj('Name','MODIS GUI');
choice=get(findobj(mainfig,'Tag','Listbox1'),'Value');

% display region in map box
set(findobj('Tag','EditText8'),'String',num2str(region{choice}(1)));
set(findobj('Tag','EditText9'),'String',num2str(region{choice}(2)));
set(findobj('Tag','EditText10'),'String',num2str(region{choice}(3)));
set(findobj('Tag','EditText11'),'String',num2str(region{choice}(4)));


close(gcbf);
