How to display image selected in popupmenu to axes in matlab gui

3 views (last 30 days)
I need to display the image in an axes which i selected in popup menu. I am generating the popup menu list dynamically by using the following code:
function popupmenu1_Callback(hObject, eventdata, handles)
DirEntries = dir('C:\Users\User\Desktop\Project\Images'); uicontrol('Style','popup', 'String', {DirEntries.name});
Now which ever image that i select in this pop up menu should be displayed in 'axes'
Can anyone help me on how to display the selected image in the GUI

Answers (1)

Seamus Stone
Seamus Stone on 12 Mar 2018

https://www.youtube.com/watch?v=KMd996btlIg

Categories

Find more on Migrate GUIDE Apps in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!