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

6 次查看(过去 30 天)
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 CenterFile Exchange 中查找有关 Dijkstra algorithm 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by