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일
res=get(handles.uitable1,'data')
save filename res

댓글 수: 2

thank you, but how can i save it as an word or excel file?
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