What is the order of the files picked in uiget files, when a folder is selected and listed using dir, as i use it to paste in an order in powepoint every time i get a different order being pasted

12 visualizaciones (últimos 30 días)
When i use uiget file or uipickfile, and use those file names to paste it in powerpoint using my code it randomly pastes the files how do I sort the order in which i select the files and the saved order of files which i use in a variable

Respuesta aceptada

Arthur
Arthur el 11 de Jul. de 2012
Simply sort them yourself?
[files path] = uigetfile({'All files (*.*)'},'Select files'MultiSelect','on');
filesSorted = sort(files);
  1 comentario
Tyann Hardyn
Tyann Hardyn el 29 de Ag. de 2021
Editada: Tyann Hardyn el 29 de Ag. de 2021
OMG, this is directly touch my problem and solve the whole problem of my question link below :
I just ask about how i cant sort my output combined data, and the problem solved just right here. Thank u so much, matlab community

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre File Operations en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by