MATLAB Answers

Matlab GUIDE: how to deal with multiple overlapping panels

6 views (last 30 days)
Marco
Marco on 22 Jul 2016
Answered: Johannes Korsawe on 2 Aug 2016
Hello everybody,
I am implementing a sequential procedure, like a sort of "wizards", with Matlab GUIDE where the user should be able to navigate through different panels by pushing the "Next" and "Back" buttons.
Which is the best way to deal with it? I was thinking about overlapping panels I can set to "Visible = on/off" through buttons callback but I don't know if it's possible to do it with GUIDE and, in case, how to do it.
Thanks for your help.
Marco

Answers (1)

Johannes Korsawe
Johannes Korsawe on 2 Aug 2016
It IS possible to do it via on/off. But then you will have to place all panels above each other which makes it not so nice to edit them in guide. But it IS possible and you could just define a sequence of panel handles and by pressing next/back, you can just make the actual be visible and all others not.
Another option would be the use of a tabbed panel (uitabgroup) and to define multiple tabs (uitab) which are to be switched one after another. But as far as i know the design of the single tabs cannot be done via guide but has to be done programmatically.

Products

Community Treasure Hunt

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

Start Hunting!