what will thie do filePattern = [imagesFolder, '\*.*'];
3 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
what will this statement will do ?
filePattern = [imagesFolder, '\*.*'];
0 commentaires
Réponse acceptée
KSSV
le 18 Nov 2016
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 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Read, Write, and Modify Image dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!