Skip to Main Content Skip to Search
File Exchange
MATLAB Newsgroup
Link Exchange
  Blogs  
 Contest 
MathWorks.com

Doug’s Pick of the Week

November 27th, 2007

Coaching call to debug GUI

This video is a departure from my other videos. This video captures a coaching call between Edgar and me as we debug a GUI that Edgar had created. This video was completely unscripted and has only been lightly edited, so it is longer than my normal videos.

This shows how an expert MATLAB programmer thinks and explains the debugging of a MATLAB GUI. This video covers getting and setting of popup menus values, deals with the perils of not closing a file after FOPEN is called.

This video will not likely cover the exact problems you have to deal with, but should be useful for seeing the process of debugging.

Find the files here.
PodCast here

One Response to “Coaching call to debug GUI”

  1. Quan Quach replied on :

    Extremely useful video. Sometimes it seems that debugging is an underrated skill. Programming is never done in the first instance! So debugging is critical. Thanks for the inside look on how you debug

Leave a Reply


Doug Hull is an Application Engineer at The MathWorks. A MATLAB user since 1994, he gets paid to live, eat, and breathe MATLAB! This blog is dedicated to promoting the File Exchange by highlighting files and original video content.



  • Moran: Hi Chris, I tried everything I could think of, and have sent several observations about this bug to support,...
  • odessit: Hello, I have compiled standalone application with deploytool. It would work fine, but the error is in...
  • Duane Hanselman: FYI… % strmatch replacements % strmatch is obsolete, strncmp and strcmp are built in % case...
  • Doug: Duane, I just looked, I did not see an m-lint warning against STRMATCH in 2008a. However, I seem to recall what...
  • hashem: Hi Doug, I built a GUI and write a help for it in “chm” (compiled HTML file) format, and I...
  • Tim Davis: I left out the comments in the code, above. Most of the functions should be familiar to most MATLAB users....
  • Tim Davis: I was a little confused by all the back-and-forth discussion of zero blocks. Is a block of zeros to be...
  • Tim Davis: Try this one. It doesn’t require any toolboxes, just “sparse” and “dmperm” ....
  • Duane Hanselman: Did anyone ever try replacing strmatch with strcmp (or its siblings as needed)? I recall mlint...
  • jiro: @Daniel, We do use the hardware, but we don’t expose the supersampling feature through that path, so if...

These postings are the author's and don't necessarily represent the opinions of The MathWorks.

Related Topics