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.

|
  • print

Comments

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