How to sort folders in imageDatastore?

4 views (last 30 days)
Mona Al-Kharraz
Mona Al-Kharraz on 28 Jun 2020
Answered: Stephen23 on 28 Jun 2020
I have a list of folders as seen in the image below. I need when I using imageDatastore to read folders in numeric order not in alphanumeric order. Be default imageDatastore read folders in alphanumeric order and it read folders in this order 1, 10, 11, 12, and so on but I need to read folders in this order 1, 2, 3, 4 and so on. How I can do this?

Answers (1)

Stephen23
Stephen23 on 28 Jun 2020

Categories

Find more on Deep Learning Toolbox in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!