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

 Accepted Answer

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

2 Comments

thank you, but how can i save it as an word or excel file?

Sign in to comment.

More Answers (0)

Categories

Find more on Develop Apps Using App Designer 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!