Sorting of column 'folder' present in 'struct'
Mostra commenti meno recenti
I have such a 'struct' and I want to make the column 'folder' in order. How can I do this?

3 Commenti
Jonas
il 9 Nov 2022
i don't understand, the column folder is already sorted correctly?
Alberto Acri
il 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');
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Shifting and Sorting Matrices in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
