- Create a button, whose callback...
- ...opens a window to choose a file by uigetfile.
- Then run xlsread to import the contents.
How do I load an array of data from excel into my GUI?
1 次查看(过去 30 天)
显示 更早的评论
I have made a GUI which uses manually entered values in edit boxes to run .As there are many values to be entered, it is tedious. So, I need an option (probably a pushbutton) which when clicked, asks the filename and location of the excel file and loads data from it.The GUI uses this data to run.How do I go about doing this?
0 个评论
采纳的回答
Jan
2012-12-17
An alternative could be a uitable or inputdlg.
0 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Spreadsheets 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!