Running code/ calling a function triggered by closing of a matlab program
Show older comments
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 Comment
per isakson
on 30 Aug 2013
See: onCleanup, Cleanup tasks upon function completion
Answers (0)
Categories
Find more on Startup and Shutdown in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!