browse data files with gui table

조회 수: 1 (최근 30일)
Tyler
Tyler 2013년 2월 26일
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

답변 (2개)

Jan
Jan 2013년 2월 26일
편집: Jan 2013년 2월 26일
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
Tyler
Tyler 2013년 2월 26일
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.

댓글을 달려면 로그인하십시오.


Tyler
Tyler 2013년 2월 27일
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.

카테고리

Help CenterFile Exchange에서 Text Files에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by