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

1 次查看(过去 30 天)
[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?

采纳的回答

Image Analyst
Image Analyst 2014-5-4

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Images 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by