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

 採用された回答

Azzi Abdelmalek
Azzi Abdelmalek 2013 年 6 月 7 日
編集済み: Azzi Abdelmalek 2013 年 6 月 7 日

0 投票

res=get(handles.uitable1,'data')
save filename res

2 件のコメント

Cordelle
Cordelle 2013 年 6 月 7 日
thank you, but how can i save it as an word or excel file?
Azzi Abdelmalek
Azzi Abdelmalek 2013 年 6 月 7 日
xlswrite('FileName.xls',res)

サインインしてコメントする。

その他の回答 (0 件)

Community Treasure Hunt

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

Start Hunting!

Translated by