Building a Web Server Monitoring App, Part 6: UIFigureCloseRequest Callback
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:
- App Designer
- timer object
- timerfind
- UICloseRequestFcn callback
评论
要发表评论,请点击 此处 登录到您的 MathWorks 帐户或创建一个新帐户。