Sorting of column 'folder' present in 'struct'
显示 更早的评论
I have such a 'struct' and I want to make the column 'folder' in order. How can I do this?

3 个评论
Jonas
2022-11-9
i don't understand, the column folder is already sorted correctly?
Alberto Acri
2022-11-9
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');
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Shifting and Sorting Matrices 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
