Sorting of column 'folder' present in 'struct'
Ältere Kommentare anzeigen
I have such a 'struct' and I want to make the column 'folder' in order. How can I do this?

3 Kommentare
Jonas
am 9 Nov. 2022
i don't understand, the column folder is already sorted correctly?
Alberto Acri
am 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');
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Shifting and Sorting Matrices finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
