How do I search for images in a user-inputted directory with user-inputted file extensions?
1 回表示 (過去 30 日間)
古いコメントを表示
I am creating a function that will let the user give a directory name and file type, and then the function will take those and search for the corrosponding files
1 件のコメント
回答 (1 件)
jibrahim
2019 年 9 月 6 日
Take a look at imageDatastore
To point to all files with a certain extension in a folder:
imds = imageDatastore('C:\dir\imagedata','FileExtensions',{'.jpg','.tif'})
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で File Operations についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!