MATLAB: How to add custom images in matlab GUI

Image Processing Toolboxtoolbox demo images

i know to add images which exist in image processing toolbox,but if i need to add image of my own, then what is the procedure or code or is there a way i can add images to the image processing toolbox.
I=imread('eight.tif');
hi = imagesc(I)
colormap gray
here is how i imported the already existing image

Best Answer

Do this to find out the folder where the Image Processing Toolbox demo images are:
folder = fileparts(which('cameraman.tif')); % Determine where demo folder is (works with all versions).
Now, just put your images into that folder with Windows Explorer or whatever file manager you use for your operating system.