How to delete multiple images from the dataset?

조회 수: 1 (최근 30일)
Sahar abdalah
Sahar abdalah 2016년 1월 2일
댓글: Sahar abdalah 2016년 1월 3일
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?

채택된 답변

Chad Greene
Chad Greene 2016년 1월 2일
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.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Images에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by