getting error in imread function

1 view (last 30 days)

Accepted Answer

Walter Roberson
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()

More Answers (0)

Categories

Find more on MATLAB 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!