files with specific extension
11 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
how do i find all files in a directory with a specific extension?
0 comentarios
Respuesta aceptada
Thomas
el 30 de Mayo de 2012
use the dir command
to find all files in a directory with the .m extensison us
dir('*.m')
for jpg
dir('*.jpg')
etc...
0 comentarios
Más respuestas (0)
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!