Creating a cell structure from directory file names
19 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Good afternoon,
I am currently trying to create a cell array of file names using the dir function. For example:
datedir = dir('directorygoeshere');
I want to make my function "datedir" to be a 1xn cell and am having a bit of difficulty choosing the right conversion function. Any help would be greatly appreciated. Thanks!
0 comentarios
Respuestas (1)
Thorsten
el 6 de Sept. de 2016
datedir = dir('directorygoeshere');
filenames = {datedir.name}:
0 comentarios
Ver también
Categorías
Más información sobre File Operations en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!