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

 Respuesta aceptada

KSSV
KSSV el 18 de Nov. de 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.

Más respuestas (0)

Categorías

Más información sobre Read, Write, and Modify Image en Centro de ayuda y File Exchange.

Preguntada:

el 18 de Nov. de 2016

Respondida:

el 18 de Nov. de 2016

Community Treasure Hunt

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

Start Hunting!

Translated by