Tieing a pop-up menu to a push button

1 view (last 30 days)
Jay
Jay on 16 Dec 2015
Edited: Jay on 19 Dec 2015
I have 2 pushbuttons and 2 pop-up menus.
I want to tie pushbutton 1 to pop-up menu 1 and pushbutton 2 to pop-up menu 2.
I only want the user to be able to choose one or the other pushbuttons.
I then want the different names in their respective pop-up menus to link to separate GUIs.
I have tried to breakdown the GUI example used in the help section to no avail.
  4 Comments
Jay
Jay on 16 Dec 2015
I have since found the below comment.
Is this applicable for a single selection pushbutton?
*See GUI Options on GUIDE's Tools menu. Choose "GUI allows only one % instance to run (singleton)".
Jay
Jay on 19 Dec 2015
Edited: Jay on 19 Dec 2015
I have progressed to the comprehension that I want to have a primary pop-up box with two headings. Eg. AM and PM
The secondary pop-up box (which will depend on the parents pop-up box selection) will be:
AM: 'Twenty Four','Three', 'Six' or 'Nine' PM: 'Twelve', 'Fifteen', 'Eighteen' or 'Twenty One'
to no avail.

Sign in to comment.

Answers (0)

Categories

Find more on Migrate GUIDE Apps in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!