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

6 次查看(过去 30 天)
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

采纳的回答

Arthur
Arthur 2012-7-11
Simply sort them yourself?
[files path] = uigetfile({'All files (*.*)'},'Select files'MultiSelect','on');
filesSorted = sort(files);

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 MATLAB Report Generator 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by