How to save result of GUI before closing?

5 次查看(过去 30 天)
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
To save the information, you can save() or xlswrite() or whatever is appropriate for the way you want to store the information.

类别

Help CenterFile Exchange 中查找有关 Migrate GUIDE Apps 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by