what will thie do filePattern = [imagesFolder, '\*.*'];
6 次查看(过去 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 中查找有关 Dijkstra algorithm 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!