How to save result of GUI before closing?

Hi everyone, I want to know if there is any option that can be added to GUI so that if the user accidentally close GUI bring a message like "Do you want to close the GUI?" with Yes and No answer and if it was yes, information be saved.

답변 (1개)

Walter Roberson
Walter Roberson 2018년 8월 9일

0 개 추천

To save the information, you can save() or xlswrite() or whatever is appropriate for the way you want to store the information.

카테고리

도움말 센터File Exchange에서 Environment and Settings에 대해 자세히 알아보기

질문:

2018년 8월 9일

답변:

2018년 8월 9일

Community Treasure Hunt

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

Start Hunting!

Translated by