This function reads a file from your computer. The parameter that you pass is a prompt to the user. The file contents are returned as a string.
x = fileread('Select a file'); y = str2num(x)
imread, str2num and imshow.