Stuart’s MATLAB Videos

Watch and Learn

Adding a debug button to a MATLAB GUI.

GUIDE GUI’s in MATLAB are really just a series of function calls triggered by callbacks associated with different uicontrols. Because these are all sub-functions, it can be difficult to get into the sub-function at the right time to see the variables that are in scope. This technique allows you do debug a GUI without putting in conditional break points in your code.
|
  • print

Comments

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