How to delete multiple images from the dataset?

1 visualización (últimos 30 días)
Sahar abdalah
Sahar abdalah el 2 de En. de 2016
Comentada: Sahar abdalah el 3 de En. de 2016
Hello, I have a dataset called flowers and I want to delete all images that the name ends with * _images_6. (exemple : 1_images_6,2_images_6,....,1017_images_6).
please help me, How can do it?

Respuesta aceptada

Chad Greene
Chad Greene el 2 de En. de 2016
Are the images in your workspace? If so,
clear *_images_6
If the images are files in some directory, use dir('*_images_6*') to find all filenames containing _images_6 then use delete to delete them.

Más respuestas (0)

Categorías

Más información sobre Images 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!

Translated by