Stuart’s MATLAB Videos

Watch and Learn

Using one callback function for multiple UI objects in GUIDE

By default, GUIDE creates one callback function for every object in a UI. Sometimes, you want to have one callback function serve multiple objects. This video shows one way to do this, by manually editing the callback property for multiple objects to point to the same callback function. This trick can help make for somewhat cleaner UI code.

Video Player is loading.
Current Time 0:00
Duration 2:43
Loaded: 6.11%
Stream Type LIVE
Remaining Time 2:43
 
1x
  • Chapters
  • descriptions off, selected
  • captions off, selected
  • en (Main), selected
    |
    • print

    Comments

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

    Loading...
    Go to top of page