Any good documentation on programming a GUI without GUIDE or App Designer?

Like it says in the title, I need to learn how to create a GUI solely from matlab scripts. Any sources you know of would be greatly appreciated (especially if their free!)

6 Comments

"Any good documentation on programming a GUI...?"
Yes! The MATLAB documentation explains how all MATLAB GUI functions work, and is complete with working examples:
Spend a few minutes browsing the contents on the left-hand side: you will find lots of useful information on related topics, and note the hierarchical contents structure. The MATLAB documentation is the only source of information you need to know how to program MATLAB GUI's yourself.
The more you practice using the MATLAB documentation the easier it will be for you to find information quickly in it. I would not recommend that you learn from any third-party websites or books: in my experience these are invariably out-of-date, or contain some major flaws in what they teach.
I favour classes when I am writing a programmatic UI, though functions can work too if you really really want, but you can't do anything very worthwhile with scripts. A UI should ideally be detached from the things that it does, which is almost impossible with scripts alone. It can be done with functions though I'd rather bang my head on a brick wall personally!
The GUI Layout Toolbox is excellent for enhancing your programmatic GUIs and making them easier to layout also.
"I'd rather bang my head on a brick wall"
Oh boy do I feel your pain right now! Appreciate the source!

Sign in to comment.

Categories

Tags

Asked:

on 1 Nov 2017

Answered:

on 14 Apr 2022

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!