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

조회 수: 5 (최근 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 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