How do you create a push button that saves data from a GUI?

Basically, I just want to give the user the option to save the numerical data that are in the cells of a table on my GUI

 Akzeptierte Antwort

Azzi Abdelmalek
Azzi Abdelmalek am 7 Jun. 2013
Bearbeitet: Azzi Abdelmalek am 7 Jun. 2013
res=get(handles.uitable1,'data')
save filename res

2 Kommentare

thank you, but how can i save it as an word or excel file?
xlswrite('FileName.xls',res)

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by