Stuart’s MATLAB Videos

Watch and Learn

Building a Web Server Monitoring App, Part 6: UIFigureCloseRequest Callback

Posted by Stuart McGarrity,

If you remember, my app creates a timer to control the execution of the main loop. It doesn’t however delete the timer. As a result, when you close the app, the timer is left behind which is untidy. Here I use the UIFigureCloseRequest callback to stop and delete the timer when the app closes.

Once again, I’m using a larger desktop to give more real-estate for App Designer, so you really need to view the video at full screen. Features covered in this code-along style video include:

Follow me (@stuartmcgarrity) if you want to be notified via Twitter when I post.