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
  • send email


댓글을 남기려면 링크 를 클릭하여 MathWorks 계정에 로그인하거나 계정을 새로 만드십시오.