フィルターのクリア

How do I search for images in a user-inputted directory with user-inputted file extensions?

1 回表示 (過去 30 日間)
t4741
t4741 2019 年 9 月 5 日
回答済み: jibrahim 2019 年 9 月 6 日
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 件)

jibrahim
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'})

カテゴリ

Help Center および File ExchangeFile Operations についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by