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!
