sorting one field of struct

 Respuesta aceptada

Walter Roberson
Walter Roberson el 30 de Mayo de 2012

0 votos

[junk, idx] = sort({files.name});
sortedfiles = files(idx);

Más respuestas (0)

Categorías

Preguntada:

el 30 de Mayo de 2012

Community Treasure Hunt

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

Start Hunting!

Translated by