Sorting of column 'folder' present in 'struct'
Afficher commentaires plus anciens
I have such a 'struct' and I want to make the column 'folder' in order. How can I do this?

3 commentaires
Jonas
le 9 Nov 2022
i don't understand, the column folder is already sorted correctly?
Alberto Acri
le 9 Nov 2022
Another approach is to download NATSORTFILES here:
unzip it and then use it like this:
A = 'C:\Users\Alberto\Desktop\GLOBAL';
B = dir(fullfile(A,'DATA*','*'));
B = natsortfiles(B,[],'rmdot','noext');
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Shifting and Sorting Matrices dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
