what will thie do filePattern = [imagesFolder, '\*.*'];

3 ビュー (過去 30 日間)
Kanwal Kaur
Kanwal Kaur 2016 年 11 月 18 日
回答済み: KSSV 2016 年 11 月 18 日
what will this statement will do ?
filePattern = [imagesFolder, '\*.*'];

採用された回答

KSSV
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 件)

カテゴリ

Help Center および File ExchangeRead, Write, and Modify Image についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by