Matlab GUI dynamic discrete status tracker
Ältere Kommentare anzeigen
In a figure, I want to dynamically display a sequence of equally spaced boxes (contained within a panel) and to dynamically highlight a particular one. A sort of status tracker (my apologies, I don't know the technical term for this). Obviously the sizing and spacing should be relative to the containing panel. This GUI tracker would be embedded within a containing parent figure. Btw, they don't have to be squares. Radio buttons or just plain old push buttons would work fine. Is this possible ? If so, would it also be possible to obtain a click index on any of these boxes ?

1 Kommentar
Gerti Tuzi
am 26 Okt. 2016
Bearbeitet: Gerti Tuzi
am 27 Okt. 2016
Antworten (1)
Walter Roberson
am 26 Okt. 2016
0 Stimmen
You could use a uibuttongroup to manage a series of uicontrol('style', 'radio') .
A trick there is that for radio buttons and push buttons, you can modify the CData property to change what the button shows. You can also change the color of the object.
1 Kommentar
Gerti Tuzi
am 26 Okt. 2016
Kategorien
Mehr zu Interactive Control and Callbacks finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!