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.
要发表评论，请点击 此处 登录到您的 MathWorks 帐户或创建一个新帐户。