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.

Answers (1)

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

Categories

Find more on 2-D and 3-D Plots in Help Center and File Exchange

Asked:

on 9 Aug 2018

Answered:

on 9 Aug 2018

Community Treasure Hunt

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

Start Hunting!