How can I create a nested figure/my own component?
7 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
I need to create my own simple compound GUI control, but I do not want to dig into AciveX.
The thing is - I need to define a "component" consisting of 1 axis and 3 textfields, which must always go together.
So that afterwards I could add an arbitrary number of this "controls" to a figure.
Maybe I could somehow load an already created .fig file on an existing one programmatically?
1 Kommentar
Antworten (3)
Sean de Wolski
am 11 Sep. 2012
I would recommend creating a class that is this combination of things. It could then have properties and methods like any other HG object but be your own to set up how you wish.
0 Kommentare
Jan
am 11 Sep. 2012
You cannot display FIG files in a figure. But you can create a subfunction, which adds the wanted elements as a group. See e.g. "edit btngroup".
0 Kommentare
per isakson
am 11 Sep. 2012
Bearbeitet: per isakson
am 11 Sep. 2012
Do you think of something like megawidgets? E.g. A New Megawidget Library, Python megawidgets. I don't think anything like megawidgets is avaiable in Matlab. It's not obvious to me how to implement it, but it would be useful.
0 Kommentare
Siehe auch
Kategorien
Mehr zu Migrate GUIDE Apps finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!