Sorting of column 'folder' present in 'struct'
Mostrar comentarios más antiguos
I have such a 'struct' and I want to make the column 'folder' in order. How can I do this?

3 comentarios
Jonas
el 9 de Nov. de 2022
i don't understand, the column folder is already sorted correctly?
Alberto Acri
el 9 de Nov. de 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');
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Shifting and Sorting Matrices en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
