MATLAB: Hello everyone, i am doing a gui in which i ll load 3 images into 3 axes. Now i want exactly those images to be loaded into the 3 axes in the next gui when i press a pushbutton . How do i go about it? Please do help me

image processing

[File, folders] = uigetfile('*.*', 'MultiSelect', 'on') filename1=strcat(folders,File{1}) filename2=strcat(folders,File{2}) filename3=strcat(folders,File{3})
image1=imread(filename1); axes(handles.axes2) imshow(image1) handles.img=image1; guidata(hObject, handles);
image2=imread(filename2); axes(handles.axes3) imshow(image2) handles.img=image2; guidata(hObject, handles);
image3=imread(filename3); axes(handles.axes1) imshow(image3) handles.img=image3; guidata(hObject, handles);
How can i load these 3 images in Main.m gui to Sub.m when i press pushbutton in sub.m?
Related Question