getting error in imread function
1 view (last 30 days)
Show older comments

0 Comments
Accepted Answer
Walter Roberson
on 1 Apr 2020
imread(fullfile(pathname, filename))
Is it really the case that you want to get a directory listing of files whose names start with "Dataset 1" followed by any number of characters with a .tif extension? Such as Dataset 1July-20-1969_eagle.tif ? Or are you wanting to look inside a folder named Dataset 1 for all .tif files?
I really recommend you get into the habit of using fullfile()
0 Comments
More Answers (0)
See Also
Categories
Find more on Data Import and Analysis 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!