필터 지우기
필터 지우기

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개)

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 CenterFile Exchange에서 File Operations에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by