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);
  1 件のコメント
Tyann Hardyn
Tyann Hardyn 2021 年 8 月 29 日
編集済み: Tyann Hardyn 2021 年 8 月 29 日
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

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeMATLAB Report Generator についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by