Effacer les filtres
Effacer les filtres

Why does UIGETFILE Put the last file name at the start then the rest in order.

2 vues (au cours des 30 derniers jours)
Hi guys, I'm using UIGETFILE to return me the names of files in a folder. The File names are ordered correctly in the folder but when the names are returned the last file name is in first cell, after this the file names continue in the correct order.
Thanks in advance,
Tim
  3 commentaires
Oleg Komarov
Oleg Komarov le 17 Sep 2012
@Tim: I don't experience your issue on R2012a Vista 32.
Tim Mottram
Tim Mottram le 19 Sep 2012
@Oleg: I am using R2010a and XP 32. But this definitely happens. I just use "sort" to put it right though, but I suppose I'm lucky that my files are labelled like that.

Connectez-vous pour commenter.

Réponse acceptée

Tim Mottram
Tim Mottram le 17 Sep 2012
When selecting multiple files by clicking and holding the shift key, the last file you click on goes in the first cell, they then run down accordingly.
  1 commentaire
Jan
Jan le 19 Sep 2012
This behaviour is controlled by the operating system and happens in e.g. the Explorer also.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Financial Toolbox dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by