browse data files with gui table

1 vue (au cours des 30 derniers jours)
Tyler
Tyler le 26 Fév 2013
HI,
I am building a GUI that will browse and bring in an unknown number of excel files and i was wondering how i could go about importing these files into a table in a gui. I would like to be able to click a browse button select a file and then have it dump it into a table. I also need to be able to do this any number of times and have it add another row to to the table. So in the end i would like to have a table that would have rows of file names. Is there a good way to go about doing this?
Thank you

Réponses (2)

Jan
Jan le 26 Fév 2013
Modifié(e) : Jan le 26 Fév 2013
Yes, there is a good way. Obviously you want to create a GUI. You can create it either programmatically or by the GUIDE tool.
What kind of help do you need? The more explicit the question, the more explicit the answers will be.
  1 commentaire
Tyler
Tyler le 26 Fév 2013
I need to be able use a browse button to find a excel file and then input it into the uitable. i then need to be able to repete this process any number of times and populate the table with a column of data file names. after that i need to be able to take the names of the files in each cell and use a xlsread function on each file to extract certain cells of information and then place them in another excel file.

Connectez-vous pour commenter.


Tyler
Tyler le 27 Fév 2013
Also another question.
Is it possible to change the size of the data property after it has already been set. such as setting the table to a certain size and then running the function again and adding another row of to the table, thus changing the size of the data array.

Community Treasure Hunt

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

Start Hunting!

Translated by