Doug's MATLAB Video Tutorials

Results for: Topic: GUI or GUIDE

Using one callback function for multiple UI objects in GUIDE 1

Posted by Doug Hull,

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... read more >>

MATLAB: Manipulating the data in a UItable in GUIDE

Posted by Doug Hull,

MATLAB: Manipulating the data in a UItable in GUIDE If you have a UItable in a UI made in GUIDE, you might want to change that data in a callback. For instance, you might want to change the values or increase the size of the dataset. This short video shows you the process to get the data... read more >>

Adding UICONTROLS to MATLAB without GUIDE for simple interactive figures 5

Posted by Doug Hull,

Adding UICONTROLS to MATLAB without GUIDE for simple interactive figures There are often small tweaks to functionality that you would like for a figure in MATLAB. This video shows how to add a button to a figure that will allow you to toggle the units of a y axes between inches and centimeters. ... read more >>

GUI building in MATLAB 3

Posted by Doug Hull,

GUI building in MATLAB This post is a continuation of the last video where we built a simple GUI in MATLAB. This continues by showing how to run initiation code for a MATLAB GUI and explains what the handles structure is. ... read more >>

Introduction to GUI building with GUIDE in MATLAB 3

Posted by Doug Hull,

Introduction to GUI building with GUIDE in MATLAB As we approach video number three hundred on this blog, I thought it was time to remake the original video that got this all started. I still refer people to it on a weekly basis. This shows you how to make a simple GUI in MATLAB. The... read more >>

Passing data between GUIDE callbacks without globals in MATLAB 8

Posted by Doug Hull,

Passing data between GUIDE callbacks without globals in MATLAB Very often MATLAB users want to share data between different callbacks that they have in their MATLAB GUIs. This video shows a technique that is applicable for when the data being shared is already stored in the state of the GUI. Examples of data that is stored in... read more >>

Adding a debug button to a MATLAB GUI. 2

Posted by Doug Hull,

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... read more >>

How to loop until a button is pushed in MATLAB 7

Posted by Doug Hull,

How to loop until a button is pushed in MATLAB I had a question recently about having a process occur until a button is pressed in a GUI (or while a button is pressed). This video shows how a button can control the output of a stream of random numbers. ... read more >>

Advanced: Getting an output from a GUIDE GUI 10

Posted by Doug Hull,

Advanced: Getting an output from a GUIDE GUI I had a well formed question from an advanced MATLAB user recently. He wanted to have an output come back from a GUI. There is an example of this with the modal dialog example in GUIDE. However, it takes some effort to know what parts of the... read more >>

Basics: Dialogapalooza- a look at many predefined dialogs 3

Posted by Doug Hull,

Basics: Dialogapalooza- a look at many predefined dialogs Very often MATLAB user will write in and we figure out that they are trying to reinvent a dialog that already exists. I quickly go through and show the most useful dialogs in MATLAB. ... read more >>

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