write data from gui in excel
Show older comments
Hi! Does anybody know how can a variable calculated on matlab GUI and stored in the handles be written on an already existing excel file?`
Or in other words, does the function xlswrite work at GUI? and if not, which function should be used instead?
Thanks a lot!
Accepted Answer
More Answers (4)
Chirag Gupta
on 26 Jul 2011
xlswrite will work from a GUI.
xlswrite(filename,handles.data)
Fangjun Jiang
on 26 Jul 2011
0 votes
Yes, xlswrite() works anywhere. You need to pay attention in the code where you have the xlswrite() line that you have access to the data, and it's better to specify the full path of the Excel file.
Andrea Gil
on 27 Jul 2011
0 votes
Jack Griffin
on 27 May 2015
0 votes
pingas
Categories
Find more on Spreadsheets in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!