MATLAB: Code for loading an image question.

gui

Hi everyone,
I have this code for loading an image from the current directory. I can't see anything wrong with it but when I try and load an image from the list it just doesn't seem to display. Could someone quickly check over it and see where I have gone wrong? Sorry, new to MATLAB.
Thanks for your time everyone.

Best Answer

You read the image and assign it to a variable in the base workspace, but you do not have any image() or imshow() call to display the image.