Stuart’s MATLAB Videos

Watch and Learn

Interuptable callbacks and BusyAction in MATLAB

If you push a button in a MATLAB UI and this starts a long calculation, what do you want to have happen if the user pushes the button a second time? Interuptable property and BusyAction property of a UICONTROL dictate the behavior. This video shows the different interactions and also shows a nice technique for seeing the results. A persistent value in MATLAB is used to keep count between runs.
  • print


要发表评论,请点击 此处 登录到您的 MathWorks 帐户或创建一个新帐户。