getting error in imread function

1 次查看(过去 30 天)

采纳的回答

Walter Roberson
Walter Roberson 2020-4-1
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 个)

类别

Help CenterFile Exchange 中查找有关 Workspace Variables and MAT-Files 的更多信息

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by