Question

I'm building a gui in matlab. I wanted to create with mutually exclusive radio buttons that, when selected, bring the user to a different page.

How can I include multiple pages in a single gui?

Thank you

Was it helpful?

Solution

Put the controls for each page in a uipanel, put all the panels in the same position, then have the radio buttons set the Visible property on all of them appropriately, such that only one is ever displayed.

Note you only need to toggle the uipanel - if you hide one, all its children are hidden regardless of their own Visible properties.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top