Info

This question is closed. Reopen it to edit or answer.

can matlab record the order of files i choosed one after another

2 views (last 30 days)
i want to subplot them and ordered by the sequence one after another,
  2 Comments
Image Analyst
Image Analyst on 13 May 2015
How did you choose them? If it's from a multi-selection "File open" generic type of system dialog box, then no. But if it's from your own listbox on your own GUI, then yes, you can record the order in which they're clicked on.
Guillaume
Guillaume on 13 May 2015
To add to Image Analyst's comment, giving the order the user click on items in "File Open" dialog any kind of meaning would be a very poor user experience. What if you realise near the end that you've forgotten one file? You have to start from scratch.
Letting the user drag and reorder the files into a listbox is a much better user interface and it's trivial to get the file order from the listbox content (it's simply the order they are in).

Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!