MATLAB Answers

How to sort folders in imageDatastore?

4 views (last 30 days)
Mona Al-Kharraz
Mona Al-Kharraz on 28 Jun 2020
Answered: Stephen Cobeldick 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?


Sign in to comment.

Translated by