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

 Respuesta aceptada

Azzi Abdelmalek
Azzi Abdelmalek el 7 de Jun. de 2013
Editada: Azzi Abdelmalek el 7 de Jun. de 2013
res=get(handles.uitable1,'data')
save filename res

2 comentarios

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

Iniciar sesión para comentar.

Más respuestas (0)

Community Treasure Hunt

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

Start Hunting!

Translated by