Using One Callback Function for Multiple UI Objects in GUIDE - MATLAB
Video Player is loading.
Current Time 0:00
Duration 0:00
Loaded: 0%
Stream Type LIVE
Remaining Time 0:00
 
1x
  • Chapters
  • descriptions off, selected
  • captions off, selected
      Video length is 2:43

      Using One Callback Function for Multiple UI Objects in GUIDE

      (Originally posted on Doug's MATLAB Video Tutorials blog.)

      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.

      Recorded: 9 Dec 2013

      Related Products