how do i get my image to display. it keeps erroring out on me.
Show older comments

1 Comment
Fangjun Jiang
on 28 Jan 2026
try specifying the full path of the file, e.g. img=imread("c:\Doc\basic shapes.png")
Accepted Answer
More Answers (0)
Categories
Find more on Images in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!