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

 Réponse acceptée

Azzi Abdelmalek
Azzi Abdelmalek le 7 Juin 2013
Modifié(e) : Azzi Abdelmalek le 7 Juin 2013
res=get(handles.uitable1,'data')
save filename res

2 commentaires

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

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Develop Apps Using App Designer dans Centre d'aide et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by