Stuart’s MATLAB Videos

Watch and Learn

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the Original version of the page.

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.