Why is the matlab command correct but no figure is produced?

Hello.

First of all, if you look at the window in the upper left corner of matlab, there is a Workspace option. Only things placed in it can be displayed.

So, you have to do 3 things.

1. Put automn.gif in the current directory. It's in the folder written above in matlab.

2. Put autumn.gif into the workspace and name it x

x=imread('autumn.gif');

3. Display x

imshow(x);

---------------------

If it is a black and white image, there should be no problem. If it is a color image, could you please add more questions:)