browse data files with gui table

1 view (last 30 days)
Tyler
Tyler on 26 Feb 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

Answers (2)

Jan
Jan on 26 Feb 2013
Edited: Jan on 26 Feb 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 Comment
Tyler
Tyler on 26 Feb 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.

Sign in to comment.


Tyler
Tyler on 27 Feb 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!