what will thie do filePattern = [imagesFolder, '\*.*'];
조회 수: 3 (최근 30일)
이전 댓글 표시
what will this statement will do ?
filePattern = [imagesFolder, '\*.*'];
댓글 수: 0
채택된 답변
KSSV
2016년 11월 18일
Folder = 'path of the file';
filePattern = [Folder, '\*.*'];
It concatenates/ joins the path Folder and '\*.*'. Now filepattern can be used to get the details of the files present in the given path of all possible extensions. It will be helpfull to get the files present in the folder.
F = dir(filePattern) ;
F will be a stricture with information of files in the folder.
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Read, Write, and Modify Image에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!