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


To leave a comment, please click here to sign in to your MathWorks Account or create a new one.