sorting one field of struct

2 views (last 30 days)
Baba on 30 May 2012
i want to sort of the files struct by file name

Accepted Answer

Walter Roberson
Walter Roberson on 30 May 2012
[junk, idx] = sort({});
sortedfiles = files(idx);

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by