How to delete multiple images from the dataset?

2 ビュー (過去 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 Center および File ExchangeData Import and Analysis についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by