Images are stored as per the dictionary
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
i have images having their names as 1,2,3,4,5,6..,10,..20..30....40. When i am storing it in some variable and its showing like this 1, 10,11,12...19,2,20,21....29,3,30...39,4,40,5,6,7,8,9.. Please i am new to matlab need it in this format 1,2,3,4,5..10,11,12,13...20,21,22,....30,31,32....40. Thank You
0 commentaires
Réponses (1)
Stephen23
le 8 Mai 2017
Modifié(e) : Stephen23
le 26 Avr 2021
Download my FEX submission natsortfiles, which will sort those filenames into alphanumeric order:
There are plenty of examples in the Mfile help and also in the HTML documentation of that submission, so I am sure that you will figure out how to use it in your code. If you have any specific questions, please ask.
2 commentaires
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!