Error while reading and displaying an image in R2020a

4 views (last 30 days)
Error using imread>get_full_filename (line 567)
File "rice.tif" does not exist
can say the solution for this
Note - i have installed image processing toolbox also

Answers (1)

Star Strider
Star Strider on 7 Jun 2020
The extension is wrong.
Try this:
I = imread('rice.png');
figure
imshow(I)
That worked for me (R2020a).

Categories

Find more on Image Processing Toolbox 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!