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 件のコメント
"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.
William Edwards
2017 年 11 月 1 日
Adam
2017 年 11 月 1 日
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.
William Edwards
2017 年 11 月 2 日
per isakson
2017 年 11 月 6 日
Excellent tutorial from Rik:
回答 (2 件)
Jan
2017 年 11 月 6 日
1 投票
See these excellent examples from Matt:
Dr. Kelsey Joy
2022 年 4 月 14 日
1 投票
I posted a sample code for creating a GUI without GUIDE on File Exchange: https://www.mathworks.com/matlabcentral/fileexchange/110100-tic-tac-toe-game-gui-without-guide-pvp-or-pvc-option
I also have a set of YouTube videos that walk through how this code was developed: https://youtube.com/playlist?list=PLmB_c16LoAcWxSnGEBn_BEGGk0GDmR4Zg
カテゴリ
ヘルプ センター および File Exchange で Startup and Shutdown についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!