This video demonstration shows you how to create a Matlab GUI
(graphical user interface).
You can use a very handy tool named ‘guide’
(development environment for GUIs). You can start with some pre-built
templates and the tool shows icons for objects (components) that you
can drag-and-drop onto your layout.
There are push-buttons,
editable-texts, graphics, panels... and many other elements. The
example developed along this video allows you to choose from a group of
data sets and display it with a specific plot type.
can duplicate controls (copy-paste) using your mouse, and can position
the elements with click-and-drop actions, as normally done in
Windows-based programs. Properties for controls allow you to modify
their initial condition or behaviour. The concept of ‘callback’ function
is also introduced.