Running code/ calling a function triggered by closing of a matlab program
显示 更早的评论
I have a matlab program (with GUI) that uses contents of some file for initialization purposes. However it is important to me that upon closing the program, some specific value be written to my initialization file. How can I have a function to get called right when the user closes my program.
Thanks you for your help
1 个评论
per isakson
2013-8-30
See: onCleanup, Cleanup tasks upon function completion
回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Startup and Shutdown 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!