How is Matlab GUI generated?

1 次查看(过去 30 天)
It's just a general question I was thinking about recently.
What is the mechanism of GUI's creation used by Matlab if we use GUIDE? How is the handles structure generated? What is the order in which the individual objects are added to the figure?

采纳的回答

Joseph Cheng
Joseph Cheng 2014-12-18
I would say the best method to figure out how GUIDE works is to break points in the OpeningFcn() section of your GUIDE GUI. At this point you can peek at the handles structure and see the order inwhich things were created. As you would do for any struct the order is basically the same order inwhich you plopped it down in GUIDE. If you are looking to go away from GUIDE but use GUIDE to layout you can see my submission here
on how to use GUIDE to help layout a GUI such that you can try to recreate it.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Migrate GUIDE Apps 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by